search_public_chats
Search Telegram's public directory by name to find unjoined channels and groups. Results separate known accounts from strangers, keeping searches read-only.
Instructions
Search Telegram's public directory by name — finds channels and groups the account has never joined. Results are split into ones already known to this account and strangers. Read-only; does not join anything.
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": {
"query": "<query>"
},
"name": "search_public_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, capped at 100. Default 20. | |
| query | Yes | Name or handle to look for. |