Get AdGuard Home configuration
adguard_get_configReads AdGuard Home add-on status, DNS upstreams, filters, safe search, access lists and DHCP state through the Supervisor without changing any settings.
Instructions
Read the AdGuard Home add-on's status, DNS settings, filtering, safe search, access lists and dhcp state.
Finds the AdGuard Home add-on through the Supervisor, then reads its
local API (http://127.0.0.1:45158/control/...): status, dns_info
(upstreams, bootstrap, fallback, rate limit, cache, PTR), filtering/status
(lists with name/url/rules_count; custom rules as a count plus the first
20), safesearch/status, access/list and dhcp/status reduced to
enabled and interface_name (no leases). Changes nothing.
Use when: inspecting AdGuard before changing it, or answering what DNS
upstreams and filters are active.
Not for: changing DNS settings — use adguard_set_dns_config; testing one
domain against the filters — use adguard_check_host.
Returns: {"addon_slug", "status", "dns", "filtering", "safesearch", "access", "dhcp"}; a section AdGuard answers with an HTTP error holds
{"error": "HTTP <status>", "detail"} instead.
Errors: adguard_not_found, adguard_not_running,
adguard_unsupported_addon, adguard_unreachable, adguard_auth_required,
timeout, HTTP <status>, or a missing SUPERVISOR_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||