Skip to content

TasksConfig

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

Configuration for MCP task-augmented tool execution.

WARNING: MCP Tasks is an experimental feature in both the MCP specification and this SDK. The API may change without notice in future versions.

Task-augmented execution is temporarily unavailable while task support is rebuilt on the MCP tasks extension (https://github.com/strands-agents/harness-sdk/issues/1659). A client constructed with tasksConfig throws from McpClient.callTool.

optional ttl?: number;

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

Time-to-live in milliseconds for task polling.


optional pollTimeout?: number;

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

Maximum time in milliseconds to wait for task completion during polling.