Cancel a calls and SMS number order
cancel_voice_sms_numberCancel a calls and SMS number order that is still waiting for registration with the operator (status awaiting_registration): the number is cancelled and nothing is charged, because the fee is charged only after activation. A number that is already active cannot be cancelled this way (invalid_transition): releasing it is not available over MCP (portal, or DELETE /v1/voice-sms-numbers/{e164}) and its paid period is not refunded. A cancellation counts towards a limit of 2 cancelled orders per account in 30 days, after which ordering is blocked for a while (voice_sms_order_limit), so do not cancel and reorder in a loop. If the number is being activated at this moment the call returns in_progress: try again in a few minutes. Same data as POST /v1/voice-sms-numbers/{e164}/cancel (response schema in /openapi.json).
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": {
"e164": "<e164>"
},
"name": "cancel_voice_sms_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| e164 | Yes | Calls and SMS number whose waiting order to cancel, in E.164 format, for example +420292000001. Must be in status awaiting_registration, from list_voice_sms_numbers. |