list_channels
List your subscribed Telegram channels, filter by title or username, and control how many channels to return.
Instructions
List Telegram channels the account is subscribed to.
Args: account: Account name (default: configured default account). search: Optional RegExp pattern to filter by channel title or username (max 200 chars). limit: Maximum channels to return (default 100, max 500).
Returns JSON: {"count": N, "channels": [{"id", "title", "username", "type", "participants_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 |
|---|---|---|---|
| account | No | ||
| search | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |