schema.json is JSON Schema draft-07 for a skill’s output. On each run, the platform validates the agent’s response against it.
Key Fields
Property Types
String Constraints
Array Items
Relationship to Skill Creation
Pass json_schema when creating a skill from a prompt. The platform writes that object to schema.json in the skill package.
For a zip upload, include schema.json in the skill directory.
Include description on every property. The model uses those descriptions to decide what to extract and how to format it.