(toolCall tools.ToolCall, toolDefinition tools.Tool, agentName string)
| 97 | } |
| 98 | |
| 99 | func ToolCall(toolCall tools.ToolCall, toolDefinition tools.Tool, agentName string) Event { |
| 100 | return &ToolCallEvent{ |
| 101 | Type: "tool_call", |
| 102 | ToolCall: toolCall, |
| 103 | ToolDefinition: toolDefinition, |
| 104 | AgentContext: newAgentContext(agentName), |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | type ToolCallConfirmationEvent struct { |
| 109 | AgentContext |
no test coverage detected