add_adlist
Subscribe to a Pi-hole block or allow list URL to manage DNS filtering. Run update_gravity afterward to download the list.
Instructions
Subscribe to an adlist URL. Run update_gravity afterwards to download it.
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": "add_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 | |||