get_messages
Read messages from a Telegram chat, group, or channel by username, ID, or title, with optional search filtering and message limits.
Instructions
Read messages from a chat/group/channel ('me', @username, numeric ID, or chat title). Optionally filter messages inside that chat using 'search'.
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": {
"target": "<target>"
},
"name": "get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| search | No | ||
| target | Yes | ||
| offset_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |