pub type ToolResult<T = ToolOutput> = Result<T, ToolError>;Expand description
Alias for a tool execution result.
Aliased Type§
pub enum ToolResult<T = ToolOutput> {
Ok(T),
Err(ToolError),
}pub type ToolResult<T = ToolOutput> = Result<T, ToolError>;Alias for a tool execution result.
pub enum ToolResult<T = ToolOutput> {
Ok(T),
Err(ToolError),
}