memory_delete
Delete Markdown memory files by moving them to .trash/ for recovery, while recording an audit tombstone. Refuses deletion of MEMORY.md to protect core memory.
Instructions
Delete a .md file by moving it to .trash/ (recoverable) and recording a tombstone in the audit log. Refuses MEMORY.md. / 删除 .md 文件:移入 .trash/(可恢复)并写 tombstone 审计记录。禁止删除 MEMORY.md。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "memory_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | relative path e.g. notes/x.md / 相对路径 | |
| agent | No | agent | |
| summary | No | deletion reason / 删除原因 |