List Carrier Routes
listCarrierRoutesList the routes on one SIP trunk, by integrationId (from listCarrierIntegrations), sorted by name: routeId, name, techPrefix, custom headers, enabled and dialable. A test config uses a routeId as its carrierRouteId. Use when: the user asks which routes a trunk has or whether one can be dialled. Read-only. Needs testing:read. Returns 404 if the trunk is not in your workspace.
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": {
"integrationId": "<integrationId>"
},
"name": "listCarrierRoutes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| integrationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | Yes | Sorted by name. Empty for an integration with no routes yet. |