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

Struct ToolEvent

pkg/telemetry/types.go:72–80  ·  view source on GitHub ↗

TOOL EVENTS ToolEvent represents tool call events

Source from the content-addressed store, hash-verified

70
71// ToolEvent represents tool call events
72type ToolEvent struct {
73 Action string `json:"action"`
74 ToolName string `json:"tool_name"`
75 SessionID string `json:"session_id"`
76 AgentName string `json:"agent_name"`
77 Duration int64 `json:"duration_ms"`
78 Success bool `json:"success"`
79 Error string `json:"error,omitempty"`
80}
81
82// ToolPayload represents the HTTP payload structure for tool events
83type ToolPayload struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected