memory
Retrieve, search, update, archive, and restore individual memories. Access the latest entry in a chain-shaped namespace or view revision history of any memory.
Instructions
Manage individual memories — get, list, search, update importance, archive, hydrate, fetch a chain-shaped namespace's head (v0.8.0), or query revision history (v0.8.0+).
ACTIONS:
"get": Retrieve a single memory by rid.
"list": Browse memories with filters.
"search": Keyword substring search.
"update_importance": Change a memory's importance score.
"archive": Move to cold storage.
"hydrate": Restore archived memory.
"chain_head": v0.8.0 — head (most recent entry) of a chain-shaped namespace. Useful for narrative / decision chains.
"history": v0.8.0 — revision history for a single rid (needs rid).
Args: See action docs above. New args: namespace: Required for chain_head — the chain-shaped namespace. rid: Required for history — record to fetch revisions for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rid | No | ||
| limit | No | ||
| action | Yes | ||
| domain | No | ||
| offset | No | ||
| sort_by | No | created_at | |
| namespace | No | ||
| importance | No | ||
| memory_type | No | ||
| text_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |