TOOL EVENTS ToolEvent represents tool call events
| 70 | |
| 71 | // ToolEvent represents tool call events |
| 72 | type 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 |
| 83 | type ToolPayload struct { |
nothing calls this directly
no outgoing calls
no test coverage detected