Edit a DNS record
dns_editOne record change in a zone we serve, inside the website editor rails. op add needs record.type (A, AAAA, CNAME, MX, TXT, SRV, CAA), name (the subdomain, empty for the apex), target and optional ttl (default 300), priority (MX, SRV), weight, port, service, protocol (SRV), tag (CAA). op replace needs record.id plus the full record; op delete needs record.id. Managed records are refused; invalid-record carries the field and the reason.
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": {
"domainId": "<domainId>",
"op": "<op>",
"record": "<record>"
},
"name": "dns_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| record | Yes | ||
| domainId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |