delete_all_memories
Permanently delete all memories for a user, agent, or session run. Wipe the selected scope to reset context, with no way to undo.
Instructions
Delete all memories for a specific scope. PERMANENT deletion.
OPTIONAL: 'user_id' OR 'agent_id' (if neither provided, auto-detects current user) OPTIONAL: 'run_id' - delete all memories for this session/run
⚠️ WARNING: This permanently removes ALL memories matching the scope. Cannot be undone.
Examples:
Delete all user memories: {"user_id": "john"}
Delete session memories: {"run_id": "session_123"}
Returns: Confirmation of deletion with count.
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": "delete_all_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| user_id | No | ||
| verbose | No | ||
| agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |