Cloudflare: Get r2 bucket
cloudflare_get_r2_bucketFetch R2 bucket metadata by name to view creation date, storage class, location, and object count. Use it to inspect bucket configuration and usage before managing storage.
Instructions
[UNIFIED] Fetch R2 bucket metadata by name (requires R2 read permission) — creation date, storage class, location, object count.
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": {
"site": "<site>",
"bucket_name": "<bucket_name>"
},
"name": "cloudflare_get_r2_bucket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| account_id | No | ||
| bucket_name | Yes |