s3_unfinished_uploads
Find multipart uploads older than a chosen age to spot abandoned uploads that still occupy storage. Returns read-only results for cleanup via multipart abort.
Instructions
Find multipart uploads started more than older_than_hours ago (default 24), scanning up to max_scan uploads (default 10000); read-only. Use it to spot abandoned uploads that still occupy storage, then remove them with s3_multipart_abort; use s3_list_multipart_uploads for a raw page regardless of age. Returns uploads[] (key, upload_id, initiated; at most 1000), scanned, partial, continuation_token and upload_id_marker; when partial is true send both markers back to continue.
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": "<bucket>"
},
"name": "s3_unfinished_uploads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name, e.g. "backups". Must be inside the configured bucket scope. | |
| prefix | No | Key prefix that limits the results, e.g. "daily/"; omit for the whole bucket. End it with "/" to match one folder only. In a prefix-restricted scope it must start with an allowed prefix followed by "/". | |
| max_scan | No | Maximum number of multipart uploads to scan in this call; default 10000. | |
| upload_id | No | Upload-ID marker: the upload_id_marker from a previous partial result, sent together with continuation_token; omit to start from the beginning. | |
| older_than_hours | No | Minimum age in hours since the upload was initiated, e.g. 72 or 0.5; default 24 (0 also means 24). | |
| continuation_token | No | Key marker from a previous partial result, sent together with upload_id to resume the scan; omit to start from the beginning. |