Skip to main content
schema.json defines the expected structure of a skill’s output using JSON Schema draft-07. When a skill is executed, the platform validates the agent’s response against this schema to ensure structured, consistent results.

Format

Key Fields

Property Types

Supported JSON Schema types for properties:

String Constraints

Array Items

Relationship to Skill Creation

When creating a skill from a prompt, you can pass a json_schema parameter. The platform uses this to generate the schema.json file within the skill package:
When creating a skill from a file (zip upload), include schema.json directly in the skill directory.
Include description on every property. The model uses these descriptions to understand what data to extract and how to format it.