pub const DEFAULT_MCP_TOOL_TIMEOUT: Duration;Available on crate feature
rmcp only.Expand description
Default per-call timeout applied to MCP tools (see issue #1914).
MCP tool calls await a response that can be silently lost by the transport
(e.g. an rmcp StreamableHttp session re-init dropping an in-flight request),
which would otherwise hang the agent forever. A generous default bounds that
without disrupting normal, long-running tools. The agent and tool-server
rmcp_tool_with_timeout builders can override or disable it.