Send message as operator
dosai_send_operator_messageSend a message to a real client in WhatsApp, Instagram or Telegram, as a human operator. Works for a WhatsApp group dialog too (kind=group): the message goes into the group from the owner's number and every member sees it. This is visible to real people and cannot be unsent, so confirm the wording with the user before calling. No dialog for that phone yet? Open one with open_conversation first. The result says delivered: true when WhatsApp took the message, or delivered: "unknown" when WhatsApp did not confirm within 15 seconds: the message may well have gone out (it usually has), so call it neither sent nor failed; repeat the same call within 5 minutes (safe: it returns the first attempt's outcome and never sends twice) or read its status in get_messages a minute later. A refusal (number reconnecting, night rule, unsubscribed) comes back as an error that says the message was NOT delivered.
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": {
"project_id": "<project_id>",
"conversation_id": "<conversation_id>",
"text": "<text>"
},
"name": "dosai_send_operator_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Exactly what the client will see. | |
| project_id | Yes | From dosai_list_projects. | |
| conversation_id | Yes | From dosai_list_conversations. |