memory_add
Add a memory entry with a unique key, value, and optional metadata, automatically checking for conflicts before storing.
Instructions
Manually add a memory. Performs automatic conflict detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Stable key, format: project:domain:type:topic | |
| tags | No | List of tags | |
| tier | No | pinned = injected every session; normal = scored competition; reference = never injected, only searchable (for long documents) | |
| value | Yes | Memory content (value 至少 10 字符,低信息过渡语会被拒收) | |
| attribute | No | Category: decision|preference|fact|constraint|user_profile | fact |
| expires_at | No | Optional expiry, e.g. 2026-12-31; expired memories stop being injected and get archived | |
| importance | No | Importance 1-10 (default 5). 9-10 hard constraints, 7-8 key decisions, 5-6 ordinary facts |