本文へスキップ
すべてのツール

whatsapp_forward_message

WhatsApp · macOS · Windows

効果: 送信. 状態: 条件付き提供.

「条件付き提供」は、バージョン、プラットフォーム、権限、アカウント、設定に依存する可能性を示し、すべての環境で有効という意味ではありません。

macOS

目的

WhatsApp のメッセージ 1 件(テキスト、ドキュメント、画像、動画、ボイスメッセージ/音声)を、転送済みとして別のチャットに転送します。chat_id と message_id は whatsapp_read_messages から、to_chat_id は必ず whatsapp_list_chats から取得してください。ID を捏造してはいけません。これは書き込み操作です。最初の呼び出し(confirm=false)は送信せずにプレビューを返します。実際に送信するには confirm=true を設定します。

必須入力

入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。

権限と確認

スキーマには明示的な確認パラメータがあります。プレビューを確認し、プラットフォーム契約に従って実操作を承認してください。

英語の正規技術スキーマ — macOS
{
  "properties": {
    "account": {
      "description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "chat_id": {
      "description": "Chat ID the message is in, from whatsapp_read_messages",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually send. Without it, returns a preview.",
      "type": "boolean"
    },
    "message_id": {
      "description": "message_id of the message to forward, from whatsapp_read_messages",
      "type": "string"
    },
    "remember": {
      "description": "With confirm: true, also stop asking for this kind of action from now on. Only when the person said so (\"don't ask again\"). The person can revoke it in LMCP or with set_always_allowed.",
      "type": "boolean"
    },
    "to_chat_id": {
      "description": "Chat ID to forward it to, from whatsapp_list_chats",
      "type": "string"
    }
  },
  "required": [
    "chat_id",
    "message_id",
    "to_chat_id"
  ],
  "type": "object"
}

ドキュメント例

whatsapp_forward_message のドキュメント例です。この例は実行しないでください。表示される引数は架空のデータセットに属します。実際に呼び出す前に実在する識別子を確認し、承認を得てください。

{
  "chat_id": "12025550123@s.whatsapp.net",
  "confirm": false,
  "message_id": "3EB0DEMO0001",
  "to_chat_id": "12025550124@s.whatsapp.net"
}

Windows

目的

WhatsApp のメッセージ 1 件(テキスト、ドキュメント、画像、動画、ボイスメッセージ/音声)を、転送済みとして別のチャットに転送します。chat_id と message_id は whatsapp_read_messages から、to_chat_id は必ず whatsapp_list_chats から取得してください。ID を捏造してはいけません。これは書き込み操作です。最初の呼び出し(confirm=false)は送信せずにプレビューを返します。実際に送信するには confirm=true を設定します。

必須入力

入力名はツールが要求する正確な形式のままです。英語の正規技術定義は下の展開可能なスキーマにあります。

権限と確認

スキーマには明示的な確認パラメータがあります。プレビューを確認し、プラットフォーム契約に従って実操作を承認してください。

英語の正規技術スキーマ — Windows
{
  "properties": {
    "account": {
      "description": "Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account.",
      "type": "string"
    },
    "chat_id": {
      "description": "Chat ID the message is in, from whatsapp_read_messages",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to actually send. Without it, returns a preview.",
      "type": "boolean"
    },
    "message_id": {
      "description": "message_id of the message to forward, from whatsapp_read_messages",
      "type": "string"
    },
    "remember": {
      "description": "With confirm=true, and only after the person said so: do this kind of action without asking from now on («don't ask me again»). The preview names the family.",
      "type": "boolean"
    },
    "to_chat_id": {
      "description": "Chat ID to forward it to, from whatsapp_list_chats",
      "type": "string"
    }
  },
  "required": [
    "chat_id",
    "message_id",
    "to_chat_id"
  ],
  "type": "object"
}

ドキュメント例

whatsapp_forward_message のドキュメント例です。この例は実行しないでください。表示される引数は架空のデータセットに属します。実際に呼び出す前に実在する識別子を確認し、承認を得てください。

{
  "chat_id": "12025550123@s.whatsapp.net",
  "confirm": false,
  "message_id": "3EB0DEMO0001",
  "to_chat_id": "12025550124@s.whatsapp.net"
}