delete_entities
Delete an entity and cascade-remove all its memories. Erase user, agent, or run entities along with every memory tied to them in one operation.
Instructions
Delete an entity and cascade-delete all its memories.
Functionally equivalent to delete_all_memories in self-hosted mode.
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_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User entity to delete (cascades to all memories). | |
| agent_id | No | Agent entity to delete. | |
| run_id | No | Run entity to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |