UNPKG

@mastra/core

Version:
7 lines • 330 B
/** * Whether a JSON schema has an object with free-form keys (e.g. `z.record()`), which OpenAI * strict mode cannot express: it requires every object to list fixed keys with * `additionalProperties: false`. */ export declare function hasFreeFormObject(schema: unknown): boolean; //# sourceMappingURL=free-form-object.d.ts.map