Get Message
wa_get_messageFetch ONE stored message from one of your accounts, by WhatsApp's message_id (as a webhook delivery or wa_list_messages gave it) or by its cursor. Use this to read the message a webhook told you about, or the one you are about to react to, edit or delete, without paging through history.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wa_get_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | the message's cursor, as wa_list_messages returned it (a webhook delivery carries it as message_seq). Pass this or message_id | |
| account_id | No | the account the message belongs to, from wa_list_accounts; omit it when the workspace has only one account | |
| message_id | No | WhatsApp's id for the message — the message_id a webhook delivery, wa_list_messages or wa_send_message gave you. Pass this or cursor | |
| include_media_urls | No | also return attachment.media_url when the message carries an available attachment — a time-limited (1h) signed URL to GET the bytes with plain HTTP instead of a wa_get_media call; off by default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | the message; absent when the request was declined | |
| refusal | No | present only when the request was declined — including when no such message is stored | |
| account_notices | No | present when a number this read covers is not working: new messages are not arriving on it; says why and what to do |