Function interopZodResponseFormat
- interopZodResponseFormat(zodSchema, name, props): {
json_schema: JSONSchema;
type: "json_schema";
} Parameters
- zodSchema: InteropZodType
- name: string
- props: Omit<JSONSchema, "schema" | "name" | "strict">
Returns {
json_schema: JSONSchema;
type: "json_schema";
}
json_schema: JSONSchema
type: "json_schema"
Structured Outputs configuration options, including a JSON Schema.