Skip to content
All tools

telegram_disconnect

Telegram · macOS · Windows

Effect: send (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Disconnects a Telegram account from LMCP on this Mac: signs that session out on Telegram's side and removes it from the Keychain; an added account is also removed from LMCP's account list. Your chats stay in Telegram. `account` picks which one; with one account it can be omitted, with several it must be given.

Required inputs

No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.

Permissions and confirmation

Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.

Full input schema — macOS
{
  "properties": {
    "account": {
      "description": "Which linked Telegram account to disconnect: its label or id from telegram_list_accounts. Required when more than one account is linked.",
      "type": "string"
    },
    "confirm": {
      "description": "Ignored; kept for older clients.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "account": "work",
  "confirm": false
}

Windows

Purpose

Disconnects a Telegram account from LMCP on this PC: signs that session out on Telegram's side and removes it from Windows Credential Manager; an added account is also removed from LMCP's account list. Your chats stay in Telegram. `account` picks which one; with one account it can be omitted, with several it must be given. The answer names the account and how many others stay.

Required inputs

No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.

Permissions and confirmation

Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.

Full input schema — Windows
{
  "properties": {
    "account": {
      "description": "Which linked Telegram account to disconnect: its label or id from telegram_list_accounts. Required when more than one account is linked.",
      "type": "string"
    },
    "confirm": {
      "description": "Ignored; kept for older clients.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "account": "work",
  "confirm": false
}