Turn a rental's auto-renew on or off
set_rental_auto_renewWith auto-renew on, the number is renewed for its rental period from the wallet a day before it ends (6 hours before for a one-day rental); if the balance is short then, the account is emailed and nothing is charged. Turning it on lets the wallet be charged later: confirm with the user 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": {
"number": "<number>",
"autoRenew": "<autoRenew>"
},
"name": "set_rental_auto_renew"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The rented number, as rent_number or list_rentals gave it ("+", spaces and dashes are ignored). | |
| autoRenew | Yes | true to turn auto-renew on, false to turn it off. |