The agent loop prints `[tool] …` lines and assistant text to stdout by design (chapter 01). Tests don't silence them — running `go test -v` will interleave that output with the test runner's. Run without -v for a quiet pass/fail summary. echoTool is the minimal tool.Tool used by tests that need a re
| 21 | // tool but don't care about its behavior. It returns its raw input as the |
| 22 | // "tool result" so test code can confirm the agent's dispatch is wired up. |
| 23 | type echoTool struct{} |
| 24 | |
| 25 | func (echoTool) Definition() api.ToolDef { |
| 26 | return api.ToolDef{Name: "echo", Description: "echoes its input"} |
nothing calls this directly
no outgoing calls
no test coverage detected