pub fn parse_tool_input_json(buffer: &str) -> Option<Value>
Parse streamed tool arguments (fences, segments, double-encoded JSON).
Callers that need TUI arg_repair should try that first, then fall back to this function.
arg_repair