list_custom_hostnames
Lists custom hostnames (SSL for SaaS) for a Cloudflare zone, with optional hostname filter and pagination.
Instructions
List custom hostnames (SSL for SaaS) on a zone.
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": {
"zone_id": "<zone_id>"
},
"name": "list_custom_hostnames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The Cloudflare zone ID (32-char hex). Get it from list_zones. | |
| hostname | No | Filter by hostname. | |
| page | No | ||
| per_page | No | ||
| fetch_all | No | When true, follow pagination and return all pages combined (ignores page/per_page). |