Withdraw from a phone number purchase
revoke_phone_numberIRREVERSIBLE: Withdraw from a phone number purchase
Uses the withdrawal right for a purchased number: the number leaves your account at once and is taken off its agent. This cannot be undone. Only numbers of your own account.
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": {
"phoneNumberId": "<phoneNumberId>"
},
"name": "revoke_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. | |
| phoneNumberId | Yes | phoneNumberId |