MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / String

Method String

go/llmproxy/tools.go:60–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59func (ToolResult) isInputItem() {}
60func (r ToolResult) String() string {
61 if stringer, ok := r.Output.(fmt.Stringer); ok {
62 return fmt.Sprintf("Function %s returned: %s", r.Name, stringer.String())
63 }
64 return fmt.Sprintf("Function %s returned: %v", r.Name, r.Output)
65}
66
67// ========== External Tools ========== //
68

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected