update_identity
Update your self-model or preferences with section-level precision by targeting H2 sections in identity files. Call without section or content to list available sections before editing.
Instructions
Update your self-model or preferences with section-level precision. Targets H2 sections in identity files. Call without section/content to list available sections. IDENTITY.md (the creed) is immutable — only self-model and preferences can be edited.
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": {
"file": "<file>"
},
"name": "update_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Which identity file to update: "self-model" or "preferences" | |
| mode | No | "replace" updates an existing section (default), "append" adds a new section | |
| content | No | New content for the section (replaces everything under the H2 header) | |
| section | No | H2 section name to target. Omit to list all sections. |