Update DNS zone features
lw_zone_updateEnable or disable region support for a DNS zone, with a preview and confirmation step before applying the change.
Instructions
Turn region support on or off for a zone (v1 Network/DNS/Zone/update, DNSRegionSupport). This is the only zone setting the API can change. Preview shows before and after. Write: needs LW_ALLOW_WRITES, then a confirmation step (preview first).
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": {
"region_support": "<region_support>"
},
"name": "lw_zone_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | No | Zone name, e.g. "example.com". Give this or zone_id. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| zone_id | No | Numeric zone id from lw_zone_list. Give this or zone. | |
| confirm_token | No | Leave empty on the first call to get a preview and a token. Repeat the call with identical parameters plus this token to execute. | |
| region_support | Yes | New DNSRegionSupport value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |