dev_doc_write
Create or update a dev doc (non-destructive). action: create | update. Deletion is a separate tool (delete_dev_doc). (consolidated surface — same handlers as the legacy tools) Required per action — create: title, content | update: content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | [update] Document UUID | |
| mode | No | [update] Update mode (default: replace) | |
| title | No | [create] Filename as title (e.g., ainote-memory.md, project-claude.md) [update] Document title | |
| action | Yes | which operation to run | |
| content | No | [create] Full file content (markdown, json, yaml, text) [update] New content | |
| category | No | [create] Subcategory: memory | claude | cursor | env | docs | custom. Default: docs [update] Subcategory to disambiguate title | |
| local_path | No | [create] Absolute path on this machine (e.g., ~/.claude/projects/-Users-seunghan/memory/MEMORY.md). Used by pull_dev_docs to restore file on other devices. Supports ~ expansion. [update] Update the local file path for multi-device sync | |
| memory_type | No | [create] Memory update semantics: 'state' = latest value replaces the past (used by memory_search latest_state mode), 'event' = immutable accumulating log, 'preference' = user preference. Omit for plain documents. [update] Set the memory update semantics (state | event | preference). Pass null/empty to clear. | |
| content_type | No | [create] Content type. Auto-detected from title extension if omitted. |