Get Message Context
get_message_contextShows a Telegram message alongside the messages before and after it in a chat, helping you inspect context around a search hit or specific message ID.
Instructions
Show a message together with the messages around it (e.g. after a search hit).
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>",
"message_id": "<message_id>"
},
"name": "get_message_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat id, @username, t.me link, "me", or chat title | |
| radius | No | Messages before and after | |
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||