cleanup_threads
Triages open threads by lifecycle health, grouping as active/cooling/dormant with vitality scores, and auto-archives dormant threads over 30 days to keep your thread list healthy.
Instructions
Triage open threads by lifecycle health. Groups threads as active/cooling/dormant with vitality scores. Use auto_archive=true to archive threads dormant 30+ days. Review and resolve stale threads to keep your thread list healthy.
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": "cleanup_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project namespace (e.g., 'my-project'). Scopes sessions and searches. | |
| auto_archive | No | If true, auto-archive threads that have been dormant for 30+ days |