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

Method EmitToolCall

pkg/runtime/tool_dispatch.go:85–87  ·  view source on GitHub ↗
(toolCall tools.ToolCall, tool tools.Tool, agentName string)

Source from the content-addressed store, hash-verified

83}
84
85func (e *sinkEmitter) EmitToolCall(toolCall tools.ToolCall, tool tools.Tool, agentName string) {
86 e.events.Emit(ToolCall(toolCall, tool, agentName))
87}
88
89func (e *sinkEmitter) EmitToolCallOutput(toolCallID string, tool tools.Tool, output, agentName string) {
90 e.events.Emit(ToolCallOutput(toolCallID, tool, output, agentName))

Callers

nothing calls this directly

Calls 2

ToolCallFunction · 0.70
EmitMethod · 0.65

Tested by

no test coverage detected