search_messages
Search full Telegram channel history for specific words across one or all configured channels, returning matching messages from a chosen time range.
Instructions
Find messages mentioning something across the configured Telegram channels.
Uses Telegram's own search, so it covers each channel's full history, not only what digests collected, and it matches words, not substrings or regexes. No AI tokens spent. Makes one Telegram request per channel: pass channel when you know where to look. Channel filters from config.yaml are not applied.
Args: query: Words to search for channel: Channel name or id as configured under channels[*]; all channels if omitted days: How many days back to search, 1 to 365 (default 30) limit: Maximum matches to return, 1 to 100, newest kept (default 30)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| query | Yes | ||
| channel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |