search_in_chat
Find messages in a Telegram chat by searching for text. Retrieve matches with an optional limit.
Instructions
Поиск сообщений ВНУТРИ чата по тексту.
T7: iter_messages(entity, search=query, limit). read-only.
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": "<chat>",
"query": "<query>"
},
"name": "search_in_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |