list_accounts
Retrieve Cloudflare accounts accessible with your current API token. Get account IDs, names, and settings to identify and manage your Cloudflare resources.
Instructions
List Cloudflare accounts accessible with the current API token. Returns account details such as ID, name, and settings.
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 |
|---|---|---|---|
| name | No | Account name to filter by | |
| page | No | Page number of paginated results (default: 1) | |
| per_page | No | Number of accounts per page (default: 20, max: 50) |