update_domain
Update a Pi-hole domain-list entry to move it between allow and deny lists, or change its comment, groups, enabled state, or match type.
Instructions
Update a domain-list entry: move it between lists, change comment, groups, or enabled state.
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>",
"domain_type": "<domain_type>"
},
"name": "update_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | exact | |
| domain | Yes | ||
| groups | No | ||
| comment | No | ||
| enabled | No | ||
| new_kind | No | ||
| new_type | No | ||
| domain_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||