Update schema
update_schemaEdit a saved schema's metadata or replace its full schema_content without an LLM call. Requires editor. Only supplied values change. For one property, prefer update_schema_property, add_schema_property or move_schema_property. Replacements must use GeneratedJsonSchema; unknown keywords are dropped, not rejected, and reported in ignored_keywords / applied_repairs. On database-linked schemas this edits the working copy: neutral edits propagate automatically; structural edits take effect after publish_schema. Returns the publish_state the edit left, the repairs and the link — not the document (get_schema reads it back). Contract and edit workflow: enricher://docs/schema-reference.
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>"
},
"name": "update_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name (must be unique). | |
| tags | No | Replacement tag list. | |
| is_pinned | No | Pin or unpin. | |
| schema_id | Yes | UUID of the schema to update. | |
| key_language | No | Pre-set the key language for multilingual database keys ahead of a database link (ISO 639-1). Settable only while the schema has no linked database and no entity state; locked afterwards. | |
| schema_content | No | Full replacement schema document, following get_schema.schema_content. See enricher://docs/schema-reference. | |
| ambiguity_check_enabled | No | Enable/disable the ambiguity check for this schema — the pass that flags properties whose name admits more than one meaning (gates analyze_schema and the generation post-pass). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||