Release (cancel & refund) a number
releaseCancel an order and automatically refund its cost if the SMS code hasn't arrived. If the code was already delivered, there's nothing to refund, and the code is instead returned for reuse.
Instructions
Cancel an order and refund its cost immediately — unless the code already arrived, in which case there is nothing to refund and the code is returned.
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": {
"order_id": "<order_id>"
},
"name": "release"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The order_id to release. |