extend_sms_rental
Extend a long-term SMS rental so the user keeps the same number — days are ADDED on top of the current expiry. This SPENDS the wallet balance at the live tier price (the tool checks the price first and reports what was charged). Valid day options are the same duration tiers the rental was offered at. Extend BEFORE expiry; an expired rental usually cannot be recovered. Requires a connected agent wallet.
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": {
"receiptId": "<receiptId>",
"days": "<days>"
},
"name": "extend_sms_rental"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | How many days to add — one of the rental's duration tiers (see list_sms_rentals for this country) | |
| receiptId | Yes | The rental receipt ID |