list_memories
List all stored memories for a user or agent, with pagination. Filter by user, agent, or run ID to narrow down results.
Instructions
List all memories for a user or agent with pagination.
OPTIONAL: 'user_id' OR 'agent_id' (if neither provided, auto-detects current user) OPTIONAL: 'run_id' - filter by session/run identifier OPTIONAL: 'page', 'page_size' - pagination controls (default: page_size=25)
Returns: All memories belonging to the specified user/agent, sorted by creation date.
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": "list_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| run_id | No | ||
| user_id | No | ||
| verbose | No | ||
| agent_id | No | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |