delete_profile
Permanently delete a NextDNS profile and its query logs, requiring double confirmation to prevent accidental removal.
Instructions
DELETES a whole profile and its logs. Devices using it stop being filtered. Only when the user asked. Needs a double confirmation: the first call deletes nothing and gives a code; ask the user, and only after they say yes, call again with confirm_code. undo can make a new profile with the same settings and lists, but with a new ID (devices must be set up again), and the logs are gone for good.
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": {
"profile": "<profile>"
},
"name": "delete_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | The profile's ID or name. | |
| confirm_code | No | Leave empty on the first call. After the user says yes, pass the code the first call gave you. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |