Telegram Connect
telegram_connectLinks your own Telegram account to LMCP on this Mac. Shows a QR code (here and in a window on the Mac): on your phone open Telegram → Settings → Devices → Link Desktop Device and scan it. The Mac window also offers the phone-number login and asks for your two-step verification password if you have one. If that account is already connected, it says so. To link ANOTHER Telegram account, pass add_account: true (optionally with a label); account re-links an existing one (see telegram_list_accounts).
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": "telegram_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | With add_account: the name for the new account (1-40 characters). Default "Telegram <n>". | |
| account | No | Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account. | |
| confirm | No | Ignored; kept for older clients. | |
| add_account | No | true to link an additional Telegram account (a new QR). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||