Set auto renew
set_auto_renewEnable or disable auto-renewal for a service to control whether renewal charges the account balance and creates invoices automatically.
Instructions
Enable or disable auto-renewal for a service. Note: enabling auto-renewal will automatically charge the account balance at each renewal (creating an invoice) without further confirmation. Requires services:manage and a full-access API key.
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": {
"orderNo": "<orderNo>",
"state": "<state>"
},
"name": "set_auto_renew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | true to enable, false to disable | |
| period | No | Billing period ID (required when enabling) | |
| orderNo | Yes | Tenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1 |