Skip to content

RunOptions

Options passed to session.run() or agent.run() as second argument.

optional output?: ZodType<any, ZodTypeDef, any>

Zod schema for structured output. When set, RunResult.data contains validated typed object.