get_memories
Page through stored memories using filters by user, agent, or run. Control result count with a limit parameter.
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 |
|---|---|---|---|
| limit | No | Maximum number of memories to return. | |
| run_id | No | Run scope. | |
| user_id | No | User scope. Defaults to MEM0_USER_ID. | |
| agent_id | No | Agent scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |