Configure DNS over HTTPS
browser_set_dohConfigures Firefox DNS over HTTPS by setting the network.trr.mode (off, on with fallback, on only, or explicitly off) and optionally the resolver URI.
Instructions
Set network.trr.mode (0 off, 2 on with fallback, 3 on only, 5 explicitly off) and optionally the resolver URI (network.trr.uri). This is what the Network Settings > DNS over HTTPS control writes.
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": {
"mode": "<mode>"
},
"name": "browser_set_doh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Resolver URI, e.g. https://mozilla.cloudflare-dns.com/dns-query | |
| mode | Yes | DoH mode |