prune_storage
Identifies and optionally deletes old terminal jobs, unused uploads, and orphaned transfer files to reclaim storage; defaults to a dry run and reports paths and byte totals.
Instructions
Report or delete old terminal jobs, unused uploads and files left by crashed transfers.
Removes terminal jobs finished more than older_than_days ago and uploads untouched for
that long that no queued/running job references. Dry run by default; returns the paths,
jobs and byte totals that were (or would be) 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": "prune_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| older_than_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||