Skip to main content
Table of Contents

TTMSMCPClient.ToolDeniedMessage Property

Text handed back to the model in place of a result when a tool invocation is refused.

API unit family: TMS.MCP.Client Declaring type: TTMSMCPClient Inherited from: TTMSMCPCustomClient Type: string

Syntax

TMS.MCP.Client.hppPascalC++
property ToolDeniedMessage: string;
__property System::UnicodeString ToolDeniedMessage = {read=FToolDeniedMessage, write=FToolDeniedMessage, stored=IsToolDeniedMessageStored};

Remarks

When it is empty the model receives no result at all for the refused call. The value is only streamed when it is not empty.