clean_traces
Selectively delete Claude Code traces based on category, age, or project, with a dry-run preview to prevent accidental removal.
Instructions
Selectively clean Claude Code traces by category, age, or project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categories | No | Comma-separated categories to clean | |
| days | No | Only clean traces older than this many days | |
| project | No | Only clean traces for specific project | |
| dry_run | No | Preview without deleting. Default: true |