Update schema property
update_schema_propertyEdit or remove one property by path without replacing the full schema. Requires editor; no LLM call. Only supplied fields change; null clears an entry in flags. Server validation rejects or normalizes invalid combinations and reports applied_repairs. Editing inside $defs affects every usage site. Removing an identity-source member is refused until its identity is recomposed. Renames preserve identity references and record migration intent. Database-linked schemas remain working-copy edits until publish_schema; inspect migration_grade. For additions or relocation use add_schema_property or move_schema_property. Paths, flags and rename rules: enricher://docs/schema-reference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | '#/$defs/X' or '#/$enums/X'; clears type. | |
| path | Yes | Property path, e.g. 'ceremonies[].ceremony_type'. | |
| type | No | New JSON type (string/number/integer/boolean/array/object); clears $ref. | |
| flags | No | Flag updates (null clears): expertise, preserve, multilingual, language_discriminator, identifying, nullable, format, pattern, semantic_id, judge_floor, semantic_concept_type, semantic_embedding_model, database_key, db_type, db_type_length, index, unique_group, shared, ordered, db_name, db_name_absolute. | |
| remove | No | Delete the property instead. | |
| examples | No | ||
| new_name | No | Rename the property. | |
| schema_id | Yes | UUID of the saved schema. | |
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||