stubToolCaller is a minimal mcp.ToolCaller that returns a fixed text result, so the agentic continuation can proceed.
| 507 | // stubToolCaller is a minimal mcp.ToolCaller that returns a fixed |
| 508 | // text result, so the agentic continuation can proceed. |
| 509 | type stubToolCaller struct{} |
| 510 | |
| 511 | func (stubToolCaller) CallTool(_ context.Context, _ mcplib.CallToolRequest) (*mcplib.CallToolResult, error) { |
| 512 | return mcplib.NewToolResultText("tool result"), nil |
nothing calls this directly
no outgoing calls
no test coverage detected