Create schema
create_schemaSchema authoring — create a BRAND-NEW schema (mints the schema + its version 1). json_schema is the JSON Schema body datafiles bound to this schema (by schema_id) are validated against; property order is preserved exactly — it sets the field order of the generated editor, so author it in the order you want humans to see. Media uploads, entity references, cron and colors need an x-tessryx-ui hint or they render as bare text — get_guide("schemas"). Pass publish=true to publish schema version 1 immediately (the version datafiles resolve by default), or later with publish_schema. (To add a version to a schema that already exists, use create_schema_version.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"display_name": "<display_name>",
"json_schema": "<json_schema>"
},
"name": "create_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | URL-safe slug, optionally hierarchical. | |
| publish | No | If true, immediately publish the version this call creates (the common create-then-publish in one step). Defaults to false; omit to leave the version as an unpublished draft. | |
| description | No | What this schema describes. | |
| json_schema | Yes | The JSON Schema body datafiles validate against; becomes version 1. Property order is preserved verbatim. | |
| display_name | Yes | Human-readable name. Required (cannot be blank). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | Yes | ||
| published | Yes | ||
| schema_id | Yes |