memory_forget
Delete a stored memory by ID, or search by query to find candidates before removal. Use it to clear obsolete AI agent memories and keep context accurate.
Instructions
Delete a memory by ID, or search by query to find candidates. Alias for memory_delete. Provide memoryId for direct deletion, or query to search first.
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": "memory_forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query to find memory | |
| memoryId | No | Memory ID to delete |