• Parameters

    • zodSchema: InteropZodType
    • name: string
    • props: Omit<JSONSchema, "schema" | "name" | "strict">

    Returns {
        json_schema: JSONSchema;
        type: "json_schema";
    }

    • json_schema: JSONSchema

      Structured Outputs configuration options, including a JSON Schema.

    • type: "json_schema"

      The type of response format being defined. Always json_schema.