Delete dns record
delete_dns_recordDelete a DNS record on a domain the customer owns. Two-step usage REQUIRED: (1) call with confirm:false to fetch the record being deleted and describe EXACTLY what will be removed (record type, host, value) — deletion is irreversible and the user must understand what they're losing. (2) ONLY after the user explicitly says yes, call again with confirm:true.
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>"
},
"name": "delete_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain the record lives on. | |
| confirm | No | false (default) returns preview; true deletes the record. Pass true ONLY after explicit user confirmation. | |
| recordId | Yes | NameSilo record ID to delete — get it from get_dns_records. |