MCPcopy
hub / github.com/docker/docker-agent / toolCall

Function toolCall

pkg/tui/components/transcript/transcript_test.go:23–29  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

21}
22
23func toolCall(id string) (tools.ToolCall, tools.Tool) {
24 call := tools.ToolCall{
25 ID: id,
26 Function: tools.FunctionCall{Name: "shell", Arguments: "{}"},
27 }
28 return call, tools.Tool{Name: "shell"}
29}
30
31func TestAppendAndRender(t *testing.T) {
32 t.Parallel()

Calls

no outgoing calls

Tested by

no test coverage detected