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 (default: the default account). Write operation: the first call (confirm=false) previews; confirm=true disconnects.

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 use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually disconnect.",
      "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 (default: the default account). Write operation: the first call (confirm=false) previews; confirm=true disconnects.

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 use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually disconnect.",
      "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
}