production.cleanup_artifacts
Inventory workspace checkpoints, QA, operations, and working copies to identify cleanup candidates; dry-run default reports eligible artifacts without deleting recovery points, assets, or actions.
Instructions
Lifecycle inventory of workspace checkpoints/qa/operations/working copies (created_at, operation_id, source, status, retain_reason, eligible_for_cleanup). dry_run=true (default) deletes nothing; recovery points of uncertain operations, applied proposals and registered assets are always retained. Candidate Actions are reported, never deleted.
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": "production.cleanup_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| keep_last | No | ||
| categories | No | ||
| min_age_days | No | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |