update_identity
Update self-model or preferences by targeting H2 sections. Replace existing sections or append new ones. Leave section and content blank to list available sections.
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.
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. |