search_dialogs
Search Telegram for chats, channels, or groups by name. Enter a partial name to get matching dialogs with IDs and usernames.
Instructions
Search for chats, channels, or groups by name.
Args: query: Part of the name to search for. limit: Max results (default 10).
Returns: List of matching dialogs with id, name, username, type.
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_dialogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |