Create domain
laravel_cloud_create_domainCreate a new domain for a Laravel Cloud environment. Configure options like WWW redirect, wildcard subdomain, Cloudflare strategy, and verification method.
Instructions
Create a new domain for the given environment.
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": {
"environment": "<environment>",
"name": "<name>"
},
"name": "laravel_cloud_create_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Domain name, e.g. example.com. | |
| environment | Yes | Environment ID. | |
| www_redirect | No | WWW redirect behavior. | |
| allow_downtime | No | Allow downtime during verification (flexible mode). | |
| wildcard_enabled | No | Enable a wildcard subdomain (*.example.com). | |
| cloudflare_strategy | No | Cloudflare DNS strategy. | |
| verification_method | No | Domain verification method. |