s3_list_object_versions
Lists object versions and delete markers under a bucket prefix in read-only pages of up to 1,000 entries, helping you find version IDs to inspect or restore specific file revisions.
Instructions
List object versions and delete markers under a prefix; read-only, one page of up to 1000 entries. Use it to find a version_id to inspect or restore with s3_head_object, s3_get_object or s3_download_file; use s3_list_objects when only current objects matter. Returns versions[], delete_markers[], truncated, continuation_token and version_marker; send both markers back together for the next page.
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_list_object_versions"
}
}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_keys | No | Page size, 1-1000 entries; default 1000. | |
| version_marker | No | Version-ID marker: the version_marker from the previous page, sent together with continuation_token; omit for the first page. | |
| continuation_token | No | Key marker: the continuation_token from the previous page, sent together with version_marker; omit for the first page. |