agent_memory_save
Save key-value memory entries to disk for cross-session recall. Enables persisting important information between agent sessions.
Instructions
Persist a key/value memory entry to disk for cross-session recall.
Each entry stores: key, value, category, tags, created_at, updated_at. Memory is kept in a JSON file and is safe to read concurrently.
Args: key: Unique identifier for the entry. value: Content to remember. category: Logical bucket for the entry. tags: Optional list of tags for retrieval filtering. overwrite: If False, fail when the key already exists.
Returns: str: JSON with keys 'success', 'key', 'category', 'tags', 'operation' ('created' or 'updated').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique key to identify this memory entry. | |
| tags | No | Optional list of tags for retrieval filtering. | |
| value | Yes | Content to remember. | |
| category | No | Logical bucket for the entry (e.g. 'user_preference', 'project_note'). | general |
| overwrite | No | If False, fail when the key already exists. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |