Get Phonebook List

List all phonebooks with their contact counts.

MCP tool

list_phonebook

Tool parameters

You can specify the following parameters in your request.

Parameter Required Description
page No The page number to retrieve (default: 1).
page_size No The number of records to return per page (default: 20).
sort_by No
The contact field to sort by, such as contact name or business phone number.
Note: You can ask your MCP client what sorting options are supported using a prompt such as "How can I sort company contacts?"
order_by No

Sort results in ascending or descending order.

Example

The following example demonstrates how to use a natural language request in Codex to call this tool and retrieve the phonebook list.

Prompt example
Show me the first 5 phonebooks on my PBX, sorted by the number of contacts from highest to lowest.
Response example