Reply to a message in the same conversation
reply_to_messageReply to an EARLIER message, quoting it, without naming a recipient.
Use it to bring context into the conversation: when the conversation has
moved on and your answer depends on something said a while ago (by the
contact, by you or, in a group, by any participant). To answer the
message you just received, do not use this tool: send a normal message
with send_text and let the chat carry the context, as a person would.
The recipient is worked out from the original: an inbound message is answered to its sender, an outbound one to whoever received it, and a group message to the group.
The message must belong to the inbox named by number_alias; a
message_id from a different number returns not found.
Like a person opening the chat, the number first appears online and its unread messages in that conversation are marked as read, then the reply is sent. Opening the conversation this way is automatic and uses no quota of its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text of your reply, 1 to 4096 characters. | |
| message_id | Yes | Message id (`msg_…`), as returned by a send or by `list_messages`. | |
| number_alias | No | Which of the organization's WhatsApp numbers this acts on: `main`, the alias of an extra number, or the number's `id` (`num_…`), which stays the same when the alias is renamed. Call `list_numbers` to see them. Defaults to the main number. | main |
| idempotency_key | No | Any printable ASCII text you choose, 1 to 255 characters, for example the id of the event you are answering. Reusing it for the same number suppresses a duplicate if you retry. Without it, retrying after a timeout may deliver the message twice, and the recipient sees both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||