nitro_set_memory
Read or update the AI memory document. Operations: read (get current), update (replace entirely), patch (replace a ## section by heading), append (add text to end).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | New content for the section (patch) or text to append (append). | |
| dry_run | No | ||
| heading | No | Section heading to patch (e.g. 'Brand Goals'). Required for patch operation. Matches ## headings. | |
| document | No | Full markdown document (required for update). | |
| operation | Yes | read: get current document. update: replace entirely. patch: replace a ## section by heading. append: add text to end. | |
| idempotency_key | No | Required for non-dry-run append. Reuse the same key only for an exact retry. Update and patch are set operations and may omit it. |