tokmeter_cleanup_preview
Preview which session files, database rows, and bytes a cleanup would delete for selected time, project, or provider filters before running the terminal cleanup command.
Instructions
Preview what session data would be deleted for the given filters. Shows affected files, directories, database rows, total bytes, and per-project/provider breakdown. Read-only: deleting is not available over MCP; the user runs tokmeter cleanup in a terminal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Time scope: today, week (last 7d), month (calendar month), or all (default) | |
| since | No | Start date (YYYY-MM-DD) for custom date range | |
| until | No | End date (YYYY-MM-DD) for custom date range | |
| project | No | Filter by project name/path substring | |
| providers | No | Filter to specific providers (e.g. ['claude-code','cursor']) |