MCPcopy Index your code
hub / github.com/coder/coder / stubToolCaller

Struct stubToolCaller

aibridge/intercept/responses/blocking_internal_test.go:509–509  ·  view source on GitHub ↗

stubToolCaller is a minimal mcp.ToolCaller that returns a fixed text result, so the agentic continuation can proceed.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected