Skip to main content

tool_error

Function tool_error 

Source
pub fn tool_error(input: &str) -> String
Expand description

The error a failed tool reported. The first field set wins, in this order: Grok’s error, Cursor’s error_message, tool_response.error, toolResult.error and tool_response.stderr.