Skip to content

Schema ​

ts
type Schema = JSONSchema | $ZodType | undefined;

No schema means no value: a tool without parameters takes no input, a custom error without errorParameterSchema no parameter.