Register domains (charges the account)
lw_domain_registerRegister 1 to 5 new domains with a single WHOIS contact; first preview availability, price, limits, and nameservers, then confirm with a token to execute the paid registration.
Instructions
Register 1 to 5 new domains with one contact (one domain: v1 Network/DNS/Domain/register; 2 to 5: bleed multiRegister). COSTS MONEY. Preview checks availability and shows price, period limits, extended-attribute needs, the contact that will be used, and nameservers. The contact becomes registrant, admin and tech. The API has no field for TLD extended attributes, so TLDs that need them may fail here; use the portal for those. Write: needs LW_ALLOW_WRITES, then a confirmation step (preview first).
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": {
"domains": "<domains>",
"contact": "<contact>"
},
"name": "lw_domain_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Registration period in years, 1 to 10 (default 1). | |
| contact | Yes | Domain contact (WHOIS) record. Field names match the Liquid Web API. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| domains | Yes | Domains to register, e.g. ["example.com"]. | |
| privacy | No | Order WHOIS privacy (API default off; may cost extra). | |
| auto_renew | No | Turn auto-renew on (API default off). | |
| nameservers | No | Nameservers to set, e.g. Cloudflare's pair. Omit for Liquid Web defaults. | |
| confirm_token | No | Leave empty on the first call to get a preview and a token. Repeat the call with identical parameters plus this token to execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |