Table of Contents

TTMSMCPClient.ToolCallTimeout Property

How long, in milliseconds, the client waits for a server to answer a tool invocation.

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

Syntax

property ToolCallTimeout: Cardinal;

Default: 60000

Remarks

When the wait runs out the invocation yields an empty result and a record is written to the log at error severity; the request itself is not cancelled. The wait blocks the thread that runs the model exchange, so a long value on the main thread makes the application unresponsive for that long.