namecheap_set_dns_hosts
Set DNS host records for a domain, replacing all existing entries. Retrieve current records first and apply the full modified set to avoid data loss.
Instructions
Set DNS host records for a domain. WARNING: This REPLACES all existing records. Always get current records first, modify them, and set the full list back.
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>",
"hosts": "<hosts>"
},
"name": "namecheap_set_dns_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts | Yes | Array of DNS host records to set | |
| domain | Yes | Domain name (e.g. "example.com") |