search
Find Telegram messages by query across recent chats or within a specified chat, returning matching results as a JSON array.
Instructions
Поиск сообщений: query — запрос; chat — ограничить чат (иначе глобальный по последним чатам). JSON-массив.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |