list_entries
Add, remove, turn on, or turn off domains in a NextDNS profile's allowlist or denylist; returns change ID so updates can be undone.
Instructions
Add, remove, turn on or turn off domains in a profile's denylist (always blocked) or allowlist (never blocked); a domain also covers its subdomains. Use it for single domains; use parental_control for whole apps or categories, privacy for blocklists, and check_domain first to see why a domain is blocked. Changes the profile within seconds and records it, so undo can put it back. Returns what was done, what was skipped (already there, not there) or failed (not a domain), and the change ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | add, remove, on (turn an entry back on) or off (keep it, but not in use). | |
| domains | Yes | Up to 100 domains, like example.com. A domain also covers its subdomains; links are cut down to the domain. | |
| profile | No | The profile's ID or name. Leave empty for the only profile, or the default one. | |
| list_name | Yes | Which list: denylist (always blocked) or allowlist (never blocked). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |