telegram_search_messages
Search for messages by text in any allowed Telegram chat or across all chats. Filter by chat and limit results.
Instructions
Search text globally or inside one allowed Telegram chat.
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": "telegram_search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| chat_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |