pub type ToolResult = Result<ToolOutput, ToolCallError>;Expand description
Result type returned by tool handlers.
Aliased Type§
pub enum ToolResult {
Ok(ToolOutput),
Err(ToolCallError),
}pub type ToolResult = Result<ToolOutput, ToolCallError>;Result type returned by tool handlers.
pub enum ToolResult {
Ok(ToolOutput),
Err(ToolCallError),
}