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" になり、何も設定されません。
必須入力
action
入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。
権限と確認
スキーマには明示的な確認パラメータがありません。これは無許可の操作を認めるものではありません。効果を確認し、承認を得てください。
- このプラットフォームでは、ユーザーが許可したアプリ、アカウント、リソースだけを使用してください。接続と権限の要件については、このツールのプラットフォーム固有の説明を参照してください。このカタログは、追加の OAuth スコープや OS 権限があるとは主張しません。
英語の正規技術スキーマ — 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" になり、何も設定されません。
必須入力
action
入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。
権限と確認
スキーマには明示的な確認パラメータがありません。これは無許可の操作を認めるものではありません。効果を確認し、承認を得てください。
- このプラットフォームでは、ユーザーが許可したアプリ、アカウント、リソースだけを使用してください。接続と権限の要件については、このツールのプラットフォーム固有の説明を参照してください。このカタログは、追加の OAuth スコープや OS 権限があるとは主張しません。
英語の正規技術スキーマ — 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"
]
}