remove_domain
Remove a domain or regex pattern from Pi-hole's allow or deny list. Specify the domain, list type, and matching kind.
Instructions
Remove a domain from the allow or deny list.
domain: the exact domain or regex pattern to remove. type: "allow" or "deny". kind: "exact" or "regex".
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>"
},
"name": "remove_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| type | No | deny | |
| kind | No | exact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |