s3_list_objects
List current object keys under a bucket prefix to browse stored files; read-only paginated results include sizes, ETags, and continuation tokens.
Instructions
List one page of current object keys under a prefix in a bucket; read-only. Use it to browse objects; use s3_list_object_versions for old versions and delete markers, and s3_largest_objects or s3_prefix_usage for size analysis across many pages. Returns objects[] (key, size in bytes, etag, last_modified, storage_class), truncated, and continuation_token for the next page. Fails with scope_denied outside the configured bucket/prefix scope.
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_objects"
}
}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. | |
| continuation_token | No | Opaque continuation_token from the previous response; omit for the first page. |