Get Trunk List

Get a list of all trunks.

MCP tool

list_trunks

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).

Examples

The following examples demonstrate how to use natural language requests in Codex to call this tool and retrieve the trunk list.

List all trunks
Prompt example
List the trunks on my PBX and show their types and statuses.
Response example
List trunks with pagination
Prompt example
List the trunks on my PBX, page 1, page size 2.
Response example