Cancel a rental for a refund
cancel_rentalCancel a rented number and refund it. Only possible between 5 and 120 minutes after renting, and only if the number has received no SMS; after that the rental runs to its end date.
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>"
},
"name": "cancel_rental"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The rented number, as rent_number or list_rentals gave it ("+", spaces and dashes are ignored). |