List channels
list_channelsFind a channel by passing in an identifier.
A channel is a phone number. By calling this tool you retrieve information about the phone number/channel in 360Dialog.
Results are paginated; use the 'page' and 'size' arguments to page through results if there are more than fit in a single page.
Returns: If not found, returns "Not found". If found, returns information of channels, like WABA ID, client ID, channel ID, and app ID, along with the current page, total pages, and total count.
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_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number to retrieve, starting at 1. | |
| size | No | Number of channels to return per page. | |
| filter | No | Optional filter. You can pass a phone number, client ID, or channel ID here. Defaults to None; call without this argument if you want to get all channels. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| found | Yes | ||
| message | No | ||
| channels | No | ||
| total_count | No | ||
| total_pages | No |