prune_subagents
Compress or delete old terminal runs from subagents based on retention policies, with overrides for manual cleanup and dry-run preview.
Instructions
Compress / delete old terminal runs. By default follows the retention config (compress after N days, delete after M days, LRU cap). Pass overrides to run a manual cleanup or set dry_run=true to preview what would happen.
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_subagents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| keep_last | No | ||
| max_age_days | No | ||
| compress_after_days | No |