prune
Archive or delete stale vault content using configurable retention policies. Preview changes with a dry-run before removing old sessions or completed tasks.
Instructions
Archive or delete stale vault content based on retention policies. Use mode='dry-run' first to preview.
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": "prune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Prune all projects | |
| mode | No | Prune mode (default dry-run) | |
| project | No | Project slug (or omit for auto-detect) | |
| sessions_days | No | Session retention in days (default 30) | |
| workspace_path | No | Absolute thread workspace directory; must map to this project. Omit only when the server cwd is the thread workspace. | |
| done_tasks_days | No | Done task retention in days (default 30) |