MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / Definition

Method Definition

internal/agent/agent_test.go:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23type echoTool struct{}
24
25func (echoTool) Definition() api.ToolDef {
26 return api.ToolDef{Name: "echo", Description: "echoes its input"}
27}
28
29func (echoTool) Execute(_ context.Context, in string) (string, bool) { return in, false }
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected