Check Telegram connection
get-telegram-statusCheck the connected Telegram account's status and session state before sending: view online state, signed-in account, synced chat and message counts, and whether older history is still loading.
Instructions
[Telegram] Report whether the connected Telegram account is online, which account it is signed in as, how many chats and messages have been synced, and whether older history is still being fetched. Call this before sending: only an account in the open state can send. sessionLost means the account is still linked and its connection dropped; revoked means the session was ended from Telegram, and the account has to be linked again by scanning a QR code in the web app.
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-telegram-status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||