update_entity
Update only the specified entity fields, keeping all other data intact, and run a data audit before writing to maintain integrity.
Instructions
字段级更新 entity 页(只改传入字段,保留其余)。写入前跑数据审计。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 现有 entity 名称(不含 .md 后缀,定位目标文件) | |
| domain | No | 可选:改业务域归属 | |
| content | No | 可选:正文内容(Markdown body,不含 frontmatter;省略 = 保留原正文) | |
| newName | No | 可选:改名(新名称,不含 .md 后缀) | |
| relations | No | 可选:JSON 格式关联关系(belongs_to / has_many),整体替换 relations | |
| description | No | 可选:改 entity 简述 |