cloudflare_get
Read from the Cloudflare API with one GET request, returning response data for accounts, zones, DNS records, Workers, KV, R2, and D1. Use it to inspect resources or verify paths and query parameters.
Instructions
Read from the Cloudflare API with one GET request: accounts, zones, DNS records, Workers, KV, R2, D1 and the rest. Returns the API response.
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": {
"account": "<account>",
"path": "<path>"
},
"name": "cloudflare_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API path, e.g. "/zones" or "/accounts/{account_id}/workers/scripts". {account_id} is replaced with the account acted on. Find paths with cloudflare_search_api. | |
| query | No | Query parameters, e.g. {"per_page": 50, "name": "example.com"}. | |
| account | Yes | Which connected account (alias) to act as, e.g. "business". | |
| account_id | No | Cloudflare account id (32 hex characters). Needed when this login can reach more than one account; GET /accounts lists them. |