presign_get_for_prefix
Generate presigned download URLs for all objects under a prefix matching a suffix (e.g., .mp4), with pagination. Use it to share or batch-download many objects without exposing credentials.
Instructions
Presigned download URLs for every object under prefix whose key ends with suffix (for example .mp4), at most max_items (default 100, at most 1,000) per call. Each item has key, size and url; pass next_token for more. In read-only mode an expires_seconds over 3,600 is capped at 3,600 for every URL, with a note saying so.
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>",
"prefix": "<prefix>"
},
"name": "presign_get_for_prefix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | ||
| prefix | Yes | ||
| region | No | ||
| suffix | No | ||
| max_items | No | ||
| expires_seconds | No | ||
| continuation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||