A plain record of Zod field schemas, e.g. { name: z.string() }. Accepted by registerTool/registerPrompt as a shorthand; auto-wrapped with z.object(). Zod schemas only — z.object() cannot wrap other Standard Schema libraries.
{ name: z.string() }
registerTool
registerPrompt
z.object()
A plain record of Zod field schemas, e.g.
{ name: z.string() }. Accepted byregisterTool/registerPromptas a shorthand; auto-wrapped withz.object(). Zod schemas only —z.object()cannot wrap other Standard Schema libraries.