Skip to main content

parse_tool_args

Function parse_tool_args 

Source
pub fn parse_tool_args(args_str: &str) -> Value
Expand description

Parse tool call arguments JSON with llm_json repair fallback. Handles common LLM mistakes: escaped quotes, trailing commas, missing braces.