When a function calls arguments fail the Zod validation we add a user message with the validation error and retry. This doesn't work with tool calling and throws:
An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'.
When a function calls arguments fail the Zod validation we add a user message with the validation error and retry. This doesn't work with tool calling and throws: