get_context
Read a message with its chronological neighbors and bounded parent-reply chain to capture surrounding Telegram context; use thread retrieval for all discussion replies.
Instructions
Read a message, chronological neighbors, and a bounded chain of parent replies.
This is temporal context; use get_thread for all comments/replies in a discussion.
Cross-chat reply traversal respects the server access policy.
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": {
"ref": "<ref>"
},
"name": "get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| after | No | ||
| before | No | ||
| reply_depth | No |