add_list
Add a blocklist to Pi-hole by providing its URL, with optional comment and enabled status. Run update_gravity after to apply changes.
Instructions
Add a blocklist by URL.
address: URL of the blocklist (e.g., https://example.com/hosts.txt). comment: optional description. enabled: whether the list is active (default True).
After adding, run update_gravity to apply changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| comment | No | ||
| enabled | No |