cloudflare_r2_object_list
List objects in a Cloudflare R2 bucket with prefix filtering, delimiter for directory-like grouping, and pagination support.
Instructions
List objects in an R2 bucket. Supports prefix filtering, delimiter for directory-like listing, and pagination.
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": "cloudflare_r2_object_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Pagination cursor from a previous request | |
| prefix | No | Filter objects by key prefix (e.g., 'brand/' to list only brand assets) | |
| per_page | No | Maximum objects to return (1-1000) | |
| delimiter | No | Delimiter for directory-like listing (e.g., '/' to group by folder) | |
| bucket_name | Yes | Name of the R2 bucket |