search_chat
Search messages within a specific Telegram chat by keyword to find matching message IDs, sender IDs, and usernames without reading the entire history.
Instructions
Поиск по одному чату силами самого Telegram. Дешевле, чем читать всё подряд, когда известно ключевое слово. Формат как у read_chat: message_id, sender_id и @username (когда доступны).
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": {
"chat_id": "<chat_id>",
"query": "<query>"
},
"name": "search_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| chat_id | Yes |