create_custom_hostname
Add a custom hostname with SSL validation to a Cloudflare zone for SaaS. Requires human approval to execute; otherwise returns a preview.
Instructions
Add a custom hostname (SSL for SaaS) to a zone. Requires confirm:true (human-approval gate); without it returns a preview only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The Cloudflare zone ID (32-char hex). Get it from list_zones. | |
| hostname | Yes | The custom hostname to add, e.g. app.customer.com. | |
| ssl_method | No | SSL validation method. Default 'http'. | |
| ssl_type | No | Certificate type. Default 'dv'. | |
| confirm | No | Human-approval gate: must be true to actually perform this mutating operation. Omit or set false to get a non-executing preview of what would happen (with secrets redacted). A human should approve before this is set to true. |