MCPcopy Create free account
hub / github.com/codehamr/codehamr / toolCall

Struct toolCall

internal/llm/llm.go:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 ToolCalls []toolCall `json:"tool_calls,omitempty"`
59}
60
61type toolCall struct {
62 // Index keys which call a streaming delta belongs to. Fragments arrive
63 // across chunks; slot lookup MUST key on this, not on slice position.
64 Index int `json:"index,omitempty"`
65 ID string `json:"id,omitempty"`
66 Type string `json:"type,omitempty"` // always "function"
67 Function toolCallFunc `json:"function"`
68}
69
70type toolCallFunc struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected