pub fn decode_tool_call_input( wire_input: Value, tool_name: &str, tools: &[ToolSpec], ) -> (Value, Option<ToolCallIntent>)