DocumentationFunctionszodToJsonSchemaFunction: zodToJsonSchema() zodToJsonSchema(schema): Record<string, unknown> Generate a JSON Schema from a Zod schema. Parameters ParameterTypeschemaZodType<any, ZodTypeDef, any> Returns Record<string, unknown> Source src/prompt/functions/zod-to-json.ts:6 (opens in a new tab)stringifyForModelCreateaifunction