list_r2_buckets
List all R2 buckets in a Cloudflare account, with optional filtering by name substring.
Instructions
List R2 buckets in an account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_r2_buckets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Cloudflare account ID. Falls back to CLOUDFLARE_ACCOUNT_ID env var when omitted. | |
| name_contains | No | Filter buckets by name substring. |