Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Make functions v2/Schema-contracts
Reference · Make functions v2

Schema-contracts

Part of Make functions v2. Install the skill and your agent reads this page when it needs the depth.

Functions schema contracts

Functions supports a bounded subset of JSON Schema Draft 2020-12. A valid general JSON Schema document can still be rejected by this host. Use object schemas (including {}); boolean schemas are unsupported except as the value of additionalProperties.

Supported keywords:

$defs $ref $schema additionalProperties allOf anyOf const default description enum
exclusiveMaximum exclusiveMinimum items maxItems maxLength maxProperties maximum
minItems minLength minProperties minimum multipleOf oneOf properties required title type

Size and complexity

Each contract is limited to 65,536 serialized bytes, schema depth 32, 1,000 schema nodes, 500 properties, 32 total union branches and 256 enum values. Literal values are bounded to depth 32 and 10,000 nodes; the complete document is bounded to depth 128 and 20,000 nodes. Avoid copying large provider schemas without reducing them to the actual input/output contract. These are contract limits, not Run payload limits.

Match contracts to actual behavior, including explicit nulls and error handling. If the server reports an unsupported keyword, implement its validation in STS-compatible source and retain the expressible shape and bounds in the schema. Revalidate both source and contracts before a new execution attempt.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.