desk_send_message
Sends a message (SMS, WhatsApp or email) to a person. Say who: contact_id, or to for a number or address. The message lands on their open ticket, or opens one; the reply says which (ticket.ref, ticket.opened). There is no send on a ticket.
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": "desk_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | phone number or email of someone who may not be a contact yet (or give contact_id) | |
| body | No | message text | |
| name | No | their name, used when the contact is new | |
| channel | No | sms (default), whatsapp or email | |
| purpose | No | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. | |
| subject | No | email subject | |
| sender_id | No | SMS only: an approved alphanumeric sender ID of the workspace to send as | |
| ticket_id | No | optional hint: the ticket you are looking at; used only if it is open and the contact's | |
| contact_id | No | contact UUID to message (or give to) | |
| forward_of | No | email only: UUID of a message to forward; body becomes your note above it | |
| template_id | No | approved WhatsApp template UUID | |
| idempotency_key | No | optional Idempotency-Key header |