on_call_tool(
self,
context: MiddlewareContext[CallToolRequestParams],
call_next: CallNext[CallToolRequestParams, ToolResult]
) -> | Name | Type | Description |
|---|---|---|
context* | MiddlewareContext[CallToolRequestParams] | |
call_next* | CallNext[CallToolRequestParams, ToolResult] |
Recover connections without replaying possibly completed operations.
Incoming tool request.
Remaining proxy middleware and tool execution.