remove_incomplete_uploads
Abort abandoned multipart uploads to reclaim storage. Only uploads older than a threshold (default 7 days) are removed, protecting in-flight transfers.
Instructions
[WRITE][risk=medium] Abort abandoned multipart uploads (reclaims their parts).
priorState records the count and a sample; the parts themselves are unrecoverable once aborted — no undo. Only uploads at least older_than_days old are touched (default 7), protecting in-flight uploads.
Args: bucket_name: Bucket name (from bucket_ls). older_than_days: Only abort uploads at least this old (0 = all). dry_run: If True, preview the matching uploads without aborting. target: MinIO target name from config; omit for the default.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bucket_name": "<bucket_name>"
},
"name": "remove_incomplete_uploads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| bucket_name | Yes | ||
| older_than_days | No |