pub struct ToolExecutionCompleteData {
pub error: Option<ToolExecutionCompleteError>,
pub interaction_id: Option<String>,
pub is_user_requested: Option<bool>,
pub model: Option<String>,
pub parent_tool_call_id: Option<String>,
pub result: Option<ToolExecutionCompleteResult>,
pub success: bool,
pub tool_call_id: String,
pub tool_telemetry: HashMap<String, Value>,
pub turn_id: Option<String>,
}Expand description
Tool execution completion results including success status, detailed output, and error information
Fields§
§error: Option<ToolExecutionCompleteError>Error details when the tool execution failed
interaction_id: Option<String>CAPI interaction ID for correlating this tool execution with upstream telemetry
is_user_requested: Option<bool>Whether this tool call was explicitly requested by the user rather than the assistant
model: Option<String>Model identifier that generated this tool call
parent_tool_call_id: Option<String>Tool call ID of the parent tool invocation when this event originates from a sub-agent
result: Option<ToolExecutionCompleteResult>Tool execution result on success
success: boolWhether the tool execution completed successfully
tool_call_id: StringUnique identifier for the completed tool call
tool_telemetry: HashMap<String, Value>Tool-specific telemetry data (e.g., CodeQL check counts, grep match counts)
turn_id: Option<String>Identifier for the agent loop turn this tool was invoked in, matching the corresponding assistant.turn_start event
Trait Implementations§
Source§impl Clone for ToolExecutionCompleteData
impl Clone for ToolExecutionCompleteData
Source§fn clone(&self) -> ToolExecutionCompleteData
fn clone(&self) -> ToolExecutionCompleteData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more