forget
Delete specific memories by ID or remove all memories matching given tags to maintain clean project context.
Instructions
删除一条或多条记忆。
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": "forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 单个记忆 ID(memory_id 的别名) | |
| ids | No | 多个记忆 ID(memory_ids 的别名) | |
| tags | No | 按标签批量删除,删除所有匹配标签的记忆 | |
| scope | No | 配合 tags 使用,限定删除范围 | all |
| memory_id | No | 单个记忆 ID(别名 id) | |
| memory_ids | No | 多个记忆 ID(别名 ids) |