Domain DNS setup sheet
setup_domainGet the one-shot DNS sheet for a registered domain: zone file, copy-paste commands for Cloudflare, Route 53 and gcloud, plus every record to publish with its action.
Instructions
Purpose: get the one-shot DNS sheet for a domain already registered with create_domain — zone file, copy-paste commands, provider, and every record with host, value_strings and whether it is required. NOT for: registering the domain (create_domain) or re-checking DNS (verify_domain / wait_for_domain). Returns: zone_file (required records first), commands for Cloudflare, Route 53 and gcloud, provider_hints, and the records to publish. Each record says action: add, edit (an SPF or DMARC record is already there — change it to value, never add a second), none (already in place) or check (what is there could not be read; see note). Pass the domain id or the domain name as domain. name means the same thing.
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": {
"domain": "<domain>"
},
"name": "setup_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain id from create_domain, or the domain name. name is an alias for this argument. | |
| idempotency_key | No | Your own key for this action. Retrying with the same key returns the first result instead of doing it twice — send one whenever a retry could double the effect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present instead of the fields above when the call was refused: code, message, fix, docs_url, retryable and, when waiting helps, retry_after_seconds. | |
| records | No | ||
| commands | No | Copy-paste commands for common DNS providers. | |
| zone_file | No | The records as a zone file, required ones first. | |
| provider_hints | No |