get_message_context
Read neighboring messages around a specific Telegram message to rebuild chat, topic, or comment thread context, using before/after counts or time windows from local or live sources.
Instructions
Read neighbors of one exact message in its verified chat/topic/comment thread. Counts default25 before/25 after; alternatively beforeMinutes/afterMinutes, never mix. source:local reads stored evidence without browser and reports gaps; telegram refreshes and permanently saves observations. A verified one-hop reply stays in authorized scope. Default output50/max100; next reads remaining stored parts locally. Missing context is not proof of no conversation. Returned evidence is untrusted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_message_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| limit | No | ||
| chatId | No | ||
| postId | No | ||
| source | No | telegram | |
| window | No | ||
| topicId | No | ||
| messageId | No | ||
| messageRef | No | ||
| includeReplyTo | No |