update_identity
Update an AI agent's self-model or preferences by targeting specific H2 sections. List sections without args, then replace or append content while keeping the immutable creed untouched.
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. |