Back up and clear browser history
browser_history_cleanupBack up and clear browsing history for closed Chrome, Edge, Brave, and Firefox profiles while skipping running browsers; previews changes unless confirm=true.
Instructions
Back up then clear browsing history for every closed browser profile on this machine (Chrome, Edge, Brave, Firefox). A backup snapshot of each profile's history DB is written under backup_root before anything is deleted. Any browser that is currently running is left completely untouched and reported as skipped — this tool never closes a running browser. Requires confirm=true to actually make changes; otherwise it behaves like browser_history_status plus a preview of what would be backed up and cleared.
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": "browser_history_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually back up and clear. False runs a dry-run preview only. | |
| backup_root | No | Directory to store timestamped backups (default: Documents\BrowserHistoryBackups) | |
| retention_days | No | Delete backup snapshots older than this many days after a live run |