search_messages
Search Telegram message history with full-text queries. Filter results by chat, sender, or date range.
Instructions
Полнотекстовый поиск по всей истории (FTS, без стемминга — пробуй словоформы). Фильтры: chat_id, sender, from_iso, to_iso.
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_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| sender | No | ||
| to_iso | No | ||
| chat_id | No | ||
| from_iso | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |