list_accounts
Retrieve Cloudflare accounts accessible by your API token, with optional pagination and ability to fetch all pages.
Instructions
List Cloudflare accounts accessible by the token.
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_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1). | |
| per_page | No | Results per page (max 50). | |
| fetch_all | No | When true, follow pagination and return all pages combined (ignores page/per_page). |