memory_add
Store durable project knowledge—preferences, decisions, conventions, bug fixes, and context—into shared Notion memory for future retrieval.
Instructions
Save a new durable memory into the shared Notion memory. USE THIS when: the user states a preference, a project decision is made, a convention is established, a non-obvious bug is fixed (root cause + fix), or important project/environment context is learned. Do NOT store secrets, tokens, or throwaway information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Lowercase tags, e.g. ['typescript','ui','deploy'] | |
| agent | Yes | Which agent is saving this; use 'shared' for universal rules | |
| title | Yes | Short, searchable, imperative title (<= 80 chars recommended) | |
| source | No | Origin: agent, user, notion, import, or system | |
| content | Yes | Full memory content: concise but complete, with examples when helpful | |
| project | No | Project/repository scope; optional for legacy databases | |
| category | No | other | |
| confidence | No | ||
| importance | No | medium | |
| supersedes | No | ID of an older memory replaced by this one | |
| verifiedAt | No | ISO timestamp when this memory was last verified | |
| freshnessDays | No | Days before this memory is considered stale | |
| allowDuplicate | No | Explicitly allow a similar memory to be saved | |
| idempotencyKey | No | Reuse the same key when retrying one memory_add operation |