update_adlist
Modify a Pi-hole adlist's comment, groups, or enabled status, then run update_gravity to apply the changes.
Instructions
Change an adlist's comment, groups, or enabled state. Run update_gravity to apply.
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": {
"address": "<address>"
},
"name": "update_adlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | No | ||
| address | Yes | ||
| comment | No | ||
| enabled | No | ||
| list_type | No | block |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||