Skip to content

McpCallToolOptions

Defined in: src/mcp/client.ts:235

Options for MCP tool invocation.

signal?: AbortSignal;

Defined in: src/mcp/client.ts:237

AbortSignal to cancel the in-flight request.


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?: McpProgressCallback;

Defined in: src/mcp/client.ts:242

Callback for progress notifications during this call. Takes precedence over the client’s callback.