List phone numbers
list_phone_numbersList phone numbers on a Vobiz account and sub-accounts with status, capabilities, and fees. Filter by status or search by number digits.
Instructions
List the phone numbers on this Vobiz account and its sub-accounts with status, capabilities, linked application and fees (GET /numbers). Optional status filter and number search; omitted filters are not applied. Paging is stateless: pass page and per_page on every call and stop when pagination.has_more is false. For one number's details use get_phone_number_details; for only the numbers that can send SMS/MMS use list_messaging_numbers.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_phone_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number (default 1). Use pagination.next_page from the previous result. | |
| search | No | Digits to match anywhere in the number (leading + optional), e.g. 91987 or +14155550123. | |
| status | No | Only numbers in this state: active (in service), pending_purchase, pending_release, released (no longer on the account), blocked or quarantined. Omit for every state. | |
| per_page | No | Numbers per page, 1-100. Defaults to the server's VOBIZ_DEFAULT_PAGE_SIZE (20). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success; false when the result is an error (then error, message and retryable are set). | |
| numbers | No | Numbers on this page. | |
| is_trial | No | Present and true when the account is still a trial account. | |
| pagination | No | ||
| trial_message | No | Vobiz's note about trial limits, when is_trial is true. |