Turn SSL auto-renew on or off
lw_ssl_auto_renewEnable or disable auto-renewal for a single SSL certificate, with a preview of current and new settings before applying. Turn it on so renewal charges are applied automatically.
Instructions
Turn auto-renewal on or off for one SSL certificate (bleed SSL/Certificate/changeAutoRenew). Preview shows the current and new setting. Turning it on means the account will be charged at renewal. 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": {
"uniq_id": "<uniq_id>",
"auto_renew": "<auto_renew>"
},
"name": "lw_ssl_auto_renew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| uniq_id | Yes | Certificate uniq_id from lw_ssl_list. | |
| auto_renew | Yes | true = On, false = Off. | |
| 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 |