Update dns record
update_dns_recordUpdate an existing DNS record on a domain the customer owns. Two-step usage: (1) call with confirm:false to fetch the current record + preview the change and describe both to the user in plain English, then (2) ONLY after the user explicitly says yes, call again with confirm:true to apply. NEVER call confirm:true without an explicit affirmative in the user's most recent message. You typically need to call get_dns_records first to find the recordId.
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>",
"recordId": "<recordId>",
"value": "<value>"
},
"name": "update_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Optional: new TTL in seconds (default keeps existing). | |
| host | No | Optional: new subdomain host (relative, e.g. "www"). Defaults to existing host. | |
| value | Yes | New value (IP, hostname, text, etc.). Required. | |
| domain | Yes | Domain the record lives on (e.g. "foo.com"). | |
| confirm | No | false (default) returns preview; true applies the change. Pass true ONLY after explicit user confirmation. | |
| recordId | Yes | NameSilo record ID to update — get it from get_dns_records. |