Show reply card
workspace_conversationUse this when the user wants to reply to a WhatsApp chat. Shows a card with the latest messages and your draft; the user edits it and presses Send in the card, which sends it. Never call reply_prepare or reply_send for a draft shown in a card: if the user says "send it", tell them to press Send in the card. To change the draft, call this again with new draft_text. Resolve the chat first. Sends nothing by itself.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>"
},
"name": "workspace_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | WhatsApp chat ID from search_chats or chats_recent. | |
| draft_text | No | Your suggested reply, in WhatsApp formatting. | |
| quote_message_id | No | Optional message_id to quote, from get_messages. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| quoted | Yes | ||
| card_id | Yes | ||
| profile | Yes | ||
| messages | Yes | ||
| read_only | Yes | ||
| draft_text | Yes | ||
| quote_message_id | Yes | ||
| monitoring_available | Yes |