get_memories
Page through memories by filtering on user, agent, or run IDs. Set a limit to control output size. Provides targeted memory retrieval without search queries.
Instructions
Page through memories using filters instead of search.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User scope. Defaults to MEM0_USER_ID. | |
| agent_id | No | Agent scope. | |
| run_id | No | Run scope. | |
| limit | No | Maximum number of memories to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |