McpCallToolOptions
Defined in: src/mcp/client.ts:235
Options for MCP tool invocation.
Properties
Section titled “Properties”signal?
Section titled “signal?”signal?: AbortSignal;Defined in: src/mcp/client.ts:237
AbortSignal to cancel the in-flight request.
timeoutMs?
Section titled “timeoutMs?”timeoutMs?: number;Defined in: src/mcp/client.ts:239
Overall time limit in milliseconds for this call. Overrides tasksConfig.pollTimeout when tasks are configured.
progressCallback?
Section titled “progressCallback?”progressCallback?: McpProgressCallback;Defined in: src/mcp/client.ts:242
Callback for progress notifications during this call. Takes precedence over the client’s callback.