pub type ToolCallResult = Result<Vec<ToolContent>, String>;Expand description
Result type for tool execution - returns content or an error message.
Aliased Type§
pub enum ToolCallResult {
Ok(Vec<ToolContent>),
Err(String),
}pub type ToolCallResult = Result<Vec<ToolContent>, String>;Result type for tool execution - returns content or an error message.
pub enum ToolCallResult {
Ok(Vec<ToolContent>),
Err(String),
}