setPhoneNumberAutoRenew
Toggle auto-renew for a purchased phone number: disable it to stop future charges while keeping the number until the paid period ends, or enable it to renew the number automatically.
Instructions
Turn auto-renew on or off for a number bought from the number shop.
With auto-renew off, the number is not charged again. It works until the end of the period already paid for, then it is released. Turn auto-renew on before that date and the number renews as normal. Sending the value the number already has changes nothing and still succeeds.
(Tags: Phone numbers)
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": {
"phone_number": "<phone_number>",
"auto_renew": "<auto_renew>"
},
"name": "setPhoneNumberAutoRenew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_renew | Yes | `false` stops renewal, `true` turns it back on. Must be a JSON boolean: a string such as `"false"`, a number, or a missing value is refused. | |
| phone_number | Yes | The number to switch. |