message_context
Retrieve a Telegram message with its surrounding messages, reply chains, and album to understand full conversation context.
Instructions
One message with surrounding messages, the chain of messages it replies to, replies to it, and its album.
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_id": "<chat_id>",
"msg_id": "<msg_id>"
},
"name": "message_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| before | No | ||
| msg_id | Yes | ||
| chat_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |