Skip to main content

ToolExecutionResult

Type Alias ToolExecutionResult 

Source
pub type ToolExecutionResult = Result<ToolResult, ToolError>;
Expand description

Result type for tool execution

Aliased Type§

pub enum ToolExecutionResult {
    Ok(ToolResult),
    Err(ToolError),
}

Variants§

§1.0.0

Ok(ToolResult)

Contains the success value

§1.0.0

Err(ToolError)

Contains the error value