Skip to main content

fail

Function fail 

Source
pub fn fail(error: ToolError, state: &AppState, database: Option<&str>) -> Call
Expand description

Ends a tool call with a failure that names its database when it is known.