run.result. Ask the agent for JSON only, then validate it with Pydantic or Zod in your application.
V4 does not currently accept an
output_schema / outputSchema request field. Validation happens client-side.