add_memory
Store a new memory to persist important context. Provide user_id, agent_id, or run_id to scope it; otherwise defaults apply.
Instructions
Store a new memory. Provide at least one of user_id, agent_id, or run_id to scope it; if none are given, falls back to MEM0_DEFAULT_USER_ID. Tagged with MEM0_DEFAULT_AGENT_ID unless agent_id is given explicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| run_id | No | ||
| user_id | No | ||
| agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||