upsert_dns_block_list
Create or update a DNS block list from an upstream URL or inline domains, with allow overrides; review the change_id and apply the change to activate it.
Instructions
Create or update a DNS block list. Returns a change_id; nothing changes until apply_change.
Args: name: Block list name. upstream: URL to fetch the block list from (e.g., a community hosts file). contents: Inline block list content (domain list). Use instead of upstream. block_list_id: UUID to update existing; omit to create new. override_to_allow: Domains to allow even if on the list.
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": {
"name": "<name>"
},
"name": "upsert_dns_block_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| contents | No | ||
| upstream | No | ||
| block_list_id | No | ||
| override_to_allow | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |