pub type ToolResult = Result<Value, RuntimeError>;
pub enum ToolResult { Ok(Value), Err(RuntimeError), }
Contains the success value
Contains the error value