Read an official documentation page
get_telegram_documentReads a specific official Telegram, TON, or bot documentation page in character windows, so you can inspect requirements, parameters, and limits after a search finds the page.
Instructions
Read the text of an official Telegram, TON or bot-library documentation page, one window at a time.
Use it to read requirements, parameters and limits in full after search_telegram_docs found the page, or to load an entry page from list_telegram_sources into an empty cache. Do not use it to find which page answers a question: search first. Pages missing from the cache or older than the freshness limit (6 hours by default) are fetched first. Returns title, URL, Markdown body for the requested window, next_offset (null at the end), total_characters, content hash and freshness. If the live source fails, the cached text is returned with freshness.stale and refresh_error set. The observation date is when this installation read the page, not when Telegram changed it.
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": {
"url": "<url>"
},
"name": "get_telegram_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Official page URL from search results or list_telegram_sources, e.g. https://core.telegram.org/bots/api or https://docs.ton.org/applications/ton-connect/overview. Pages outside the official sources are rejected. | |
| length | No | Number of characters to return. | |
| offset | No | Character offset to start from; use a search result's document_offset or the previous next_offset. | |
| refresh | No | Force a live check of the source even if the cached copy is fresh. |