Delete DNS record
delete_dns_recordDelete a DNS record by its ID within a zone, with a confirmation prompt before removal when the client supports it.
Instructions
Delete a DNS record by id (from list_dns_records). When the client supports it, the user is asked to confirm first; if they decline, nothing is deleted and the result has status 'declined' (or 'cancelled').
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": {
"zone": "<zone>",
"type": "<type>",
"id": "<id>"
},
"name": "delete_dns_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record id from list_dns_records. | |
| type | Yes | Record type: a, aaaa, cname, mx, txt, ns, srv, caa, tlsa, sshfp, or url (Zone's HTTP redirect record). | |
| zone | Yes | DNS zone, e.g. 'example.com'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| type | No | ||
| zone | No | ||
| record | No | ||
| status | No | ||
| message | No | Set when the user declined or dismissed the confirmation. |