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