List phone numbers
list_numbersList one bounded, newest-first page of the workspace's phone numbers with registration status, using the REST number record plus when_called: what the number does when it is called (answer_with_skysay_agent, send_to_my_phone_server, forward_to_phone_number or disabled, the configured routing, not a check that a call connects; update_number_rules changes it). A page holds at most limit numbers and at most 25,000 characters, so it can hold fewer; pagination.next_cursor continues the listing and is meaningful only while pagination.has_more is true. A number too large for any page is named in pagination.omitted.
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_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | Opaque cursor returned as pagination.next_cursor. | |
| project_id | No | ||
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. |