본문으로 건너뛰기
모든 도구

telegram_watch_messages

Telegram · macOS · Windows

효과: 읽기. 상태: 조건부 제공.

‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.

macOS

목적

선택한 Telegram 채팅에 새 메시지가 도착하면 Local MCP가 이 세션에 알리도록 요청하므로, telegram_read_messages를 계속 호출할 필요가 없습니다. set에는 `account`와 `chats`가 필요합니다. Local MCP는 300초마다 확인하므로(delivery "poll") 메시지가 온 뒤 약 5분 후에 알림이 올 수 있습니다. 각 알림은 platform, account, chat, count, max_id, event_id를 담은 이 세션으로의 notifications/claude/channel 메시지이며 텍스트는 포함하지 않습니다. 텍스트는 telegram_read_messages로 채팅을 읽으세요. 알림은 반복될 수 있으므로 이미 본 event_id는 무시하세요. 감시는 지금 시작되므로 먼저 채팅을 한 번 읽어 따라잡으세요. 이 세션이 끝나면 함께 끝납니다. 이러한 알림을 표시하도록 인증된 AI 클라이언트 빌드만 설정할 수 있으며, 그 외에는 delivery "unsupported"를 받고 아무것도 설정되지 않습니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 없습니다. 이는 무단 작업을 허용하지 않습니다. 효과를 검토하고 승인을 받으세요.

영문 정식 기술 스키마 — 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"
    },
    "action": {
      "description": "set: watch these chats for this session; clear: stop; status: what is watched and when it was last checked.",
      "enum": [
        "set",
        "clear",
        "status"
      ],
      "type": "string"
    },
    "chats": {
      "description": "For set: 1 to 20 chat ids from telegram_list_chats of that account (user:… or, with include_groups, chat:…).",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array"
    },
    "include_groups": {
      "description": "Allow basic groups (chat:…). Channels are not supported.",
      "type": "boolean"
    }
  },
  "required": [
    "action"
  ],
  "type": "object"
}

문서 예시

telegram_watch_messages 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "account": "Demo Telegram",
  "action": "set",
  "chats": [
    "user:5550100123"
  ]
}

Windows

목적

선택한 Telegram 채팅에 새 메시지가 도착하면 Local MCP가 이 세션에 알리도록 요청하므로, telegram_read_messages를 계속 호출할 필요가 없습니다. set에는 `account`와 `chats`가 필요합니다. Local MCP는 300초마다 확인하므로(delivery "poll") 메시지가 온 뒤 약 5분 후에 알림이 올 수 있습니다. 각 알림은 platform, account, chat, count, max_id, event_id를 담은 이 세션으로의 notifications/claude/channel 메시지이며 텍스트는 포함하지 않습니다. 텍스트는 telegram_read_messages로 채팅을 읽으세요. 알림은 반복될 수 있으므로 이미 본 event_id는 무시하세요. 감시는 지금 시작되므로 먼저 채팅을 한 번 읽어 따라잡으세요. 이 세션이 끝나면 함께 끝납니다. 이러한 알림을 표시하도록 인증된 AI 클라이언트 빌드만 설정할 수 있으며, 그 외에는 delivery "unsupported"를 받고 아무것도 설정되지 않습니다.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 없습니다. 이는 무단 작업을 허용하지 않습니다. 효과를 검토하고 승인을 받으세요.

영문 정식 기술 스키마 — Windows
{
  "properties": {
    "account": {
      "description": "For set: which linked Telegram account to watch, its label or id from telegram_list_accounts. Required: never the default.",
      "type": "string"
    },
    "action": {
      "description": "set: watch these chats for this session; clear: stop; status: what is watched and when it was last checked.",
      "enum": [
        "set",
        "clear",
        "status"
      ],
      "type": "string"
    },
    "chats": {
      "description": "For set: 1 to 20 chat ids from telegram_list_chats of that account (user:… or, with include_groups, chat:…).",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array"
    },
    "include_groups": {
      "description": "Allow basic groups (chat:…). Channels are not supported.",
      "type": "boolean"
    }
  },
  "required": [
    "action"
  ],
  "type": "object"
}

문서 예시

telegram_watch_messages 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "account": "Demo Telegram",
  "action": "set",
  "chats": [
    "user:5550100123"
  ]
}