(toolCallID string, toolDefinition tools.Tool, output, agentName string)
| 138 | } |
| 139 | |
| 140 | func ToolCallOutput(toolCallID string, toolDefinition tools.Tool, output, agentName string) Event { |
| 141 | return &ToolCallOutputEvent{ |
| 142 | Type: "tool_call_output", |
| 143 | Output: output, |
| 144 | ToolCallID: toolCallID, |
| 145 | ToolDefinition: toolDefinition, |
| 146 | AgentContext: newAgentContext(agentName), |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | type ToolCallResponseEvent struct { |
| 151 | AgentContext |
no test coverage detected