Call any Liquid Web API method (gated)
lw_raw_callExecute any Liquid Web API method, including writes, when no dedicated tool is available; requires a preview and confirmation token before destructive calls run.
Instructions
Last-resort passthrough to any Liquid Web API method, including writes, when no dedicated lw_* tool exists. Treated as destructive: needs LW_ALLOW_RAW_CALLS (default on), LW_ALLOW_WRITES and LW_ALLOW_DESTRUCTIVE, then a confirmation step with a preview of the exact method and params. Always refuses Account/Auth/, API user and token creation (Account/User/generateAPIUser), user create/update/delete and role changes, payments (Billing/Payment/make), Basket/purchase, PasswordReset, TwoFactor and CreditCard methods. Secret-bearing methods (password, credential, console) also need LW_ALLOW_SECRETS. Never retried. Prefer lw_raw_read for reads and dedicated tools for DNS and server changes, since they show before/after diffs. Destructive: needs LW_ALLOW_WRITES and LW_ALLOW_DESTRUCTIVE, then a confirmation step.
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": {
"path": "<path>"
},
"name": "lw_raw_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API path, e.g. "Network/DNS/Zone/summary", "bleed/Network/DNS/Domain/details" or "v2/asset/details". A version prefix in the path is honored. | |
| params | No | The params object sent as {"params": {...}}. Check inputs with lw_api_path_details first. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| version | No | API version. Overrides a prefix in path. Default v1. | |
| 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. |
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 |