Publish schema
publish_schemaPublish a schema version, making it the version a datafile resolves when it binds to this schema without requesting the latest.
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": {
"schema_id": "<schema_id>",
"version": "<version>"
},
"name": "publish_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | the version number to make the published version datafiles resolve by default | |
| schema_id | Yes | the schema id to publish |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | No | ||
| schema_id | Yes | ||
| description | Yes | ||
| json_schema | No | ||
| display_name | Yes | ||
| latest_version | Yes | ||
| last_published_version | Yes |