MCPcopy Create free account
hub / github.com/docker/model-test / ToolCallResult

Struct ToolCallResult

models/chat.go:43–50  ·  view source on GitHub ↗

ToolCallResult represents the result of executing a tool call

Source from the content-addressed store, hash-verified

41
42// ToolCallResult represents the result of executing a tool call
43type ToolCallResult struct {
44 CallID string `json:"call_id"`
45 ToolName string `json:"tool_name"`
46 Success bool `json:"success"`
47 Result interface{} `json:"result,omitempty"`
48 Error string `json:"error,omitempty"`
49 Arguments string `json:"arguments"`
50}
51
52// CartSummary represents the current state of a shopping cart
53type CartSummary struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected