Skip to main content

autoagents_protocol/
tool.rs

1use serde::{Deserialize, Serialize};
2use serde_json::Value;
3
4/// Result emitted after executing a single tool call.
5#[derive(Debug, Clone, Serialize, Deserialize)]
6pub struct ToolCallResult {
7    pub tool_name: String,
8    pub success: bool,
9    pub arguments: Value,
10    pub result: Value,
11}