Enter to send·Shift+Enter new line
mcp_tool_middleware( timeout_seconds: float = MCP_TOOL_TIMEOUT_SECONDS_DEFAULT ) -> AgentMiddleware
Build the middleware wrapping every MCP tool call.