A plain object where all values are Zod schemas. Used for inline schema syntax in defineTool.
const shape: ZodRawShapeRecord = { name: z.string(), age: z.number().optional(),}; Copy
const shape: ZodRawShapeRecord = { name: z.string(), age: z.number().optional(),};
A plain object where all values are Zod schemas. Used for inline schema syntax in defineTool.