Delete the edit history
forget_historyDeletes the server's edit journal and undo_edit backups, all or only edits older than a given number of days; requires confirm because forgotten edits cannot be undone.
Instructions
Deletes this server's edit journal and the file backups it keeps for undo_edit (in MB2_DATA_DIR, default %LOCALAPPDATA%\mb2-mcp\history): all of it, or only edits older than older_than_days. Forgotten edits can no longer be undone. Needs confirm=true. (Screenshots and traces in the bridge folder: editor_command action=cleanup.)
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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true: forgotten edits cannot be undone any more. | |
| older_than_days | No | Only forget edits older than this many days (default: all). |