Skip to main content
V4 returns run.result as a string. Ask for JSON only, then validate it client-side:
V4 does not accept output_schema / outputSchema. Handle validation errors and retry with a session follow-up when needed.