Release an Upload-Post phone number
release_phone_numberPermanently release an Upload-Post phone number to stop SMS, calls, and monthly charges; this final action requires user approval before confirmation.
Instructions
Give an Upload-Post phone number back. It is FINAL and cannot be undone: the number stops receiving SMS and calls, WhatsApp and anything else verified on it stop working, and the carrier may give it to someone else later. The monthly charge stops (no refund for the rest of the period). To keep the number with another carrier, use phone_numbers_read port_out_info instead of releasing it. Needs confirm: true, set only after the user approved releasing that exact number; without it the API answers 400 confirmation_required and nothing changes. 404 phone_number_not_found. When the subscription is cancelled or ends, numbers are suspended at once and released after a 7-day grace period (the user gets an email warning). Team members acting on the owner's account cannot buy, send identity documents, release or read port-out details (403 phone_numbers_owner_only): only the owner or an Admin can. Not generally available yet: the API answers 403 phone_numbers_not_available until phone numbers are available for the account (phone_numbers_read config answers enabled: false). Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.
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_id": "<number_id>"
},
"name": "release_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | The API's confirmation: must be true, after the user approved releasing this number. Without it nothing is released. | |
| confirmed | No | Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent. | |
| number_id | Yes | Upload-Post id of the number (`pn_...`), from phone_numbers_read `list`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |