Skip to content
All tools

telegram_search_messages

Telegram · macOS · Windows

Effect: read (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

Searches your Telegram messages by text, across all chats or (with chat_id from telegram_list_chats) inside one chat. Searches Telegram's servers, so it covers your full history. Requires Telegram connected (telegram_connect).

Required inputs

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real 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"
    },
    "chat_id": {
      "description": "Optional chat id from telegram_list_chats to search only that chat.",
      "type": "string"
    },
    "limit": {
      "description": "Max messages (default 30, max 100).",
      "type": "integer"
    },
    "query": {
      "description": "Text to search for.",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "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.

{
  "query": "launch checklist"
}

Windows

Purpose

Searches your Telegram messages by text, across all chats or (with chat_id from telegram_list_chats) inside one chat. Searches Telegram's servers, so it covers your full history. Requires Telegram connected (telegram_connect).

Required inputs

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real 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"
    },
    "chat_id": {
      "description": "Optional chat id from telegram_list_chats to search only that chat.",
      "type": "string"
    },
    "limit": {
      "description": "Max messages (default 30, max 100).",
      "type": "integer"
    },
    "query": {
      "description": "Text to search for.",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "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.

{
  "query": "launch checklist"
}