MCPcopy Index your code
hub / github.com/docker/docker-agent / ToolCallResponse

Function ToolCallResponse

pkg/runtime/event.go:160–169  ·  view source on GitHub ↗
(toolCallID string, toolDefinition tools.Tool, result *tools.ToolCallResult, response, agentName string)

Source from the content-addressed store, hash-verified

158}
159
160func ToolCallResponse(toolCallID string, toolDefinition tools.Tool, result *tools.ToolCallResult, response, agentName string) Event {
161 return &ToolCallResponseEvent{
162 Type: "tool_call_response",
163 Response: response,
164 Result: result,
165 ToolCallID: toolCallID,
166 ToolDefinition: toolDefinition,
167 AgentContext: newAgentContext(agentName),
168 }
169}
170
171type StreamStartedEvent struct {
172 AgentContext

Callers 2

runHarnessAgentMethod · 0.85
EmitToolCallResponseMethod · 0.85

Calls 1

newAgentContextFunction · 0.85

Tested by

no test coverage detected