send_message
Send a message. Send text, a WhatsApp template, a reaction, or a typing indicator on any channel. Route by conversation_id, by platform plus platform_user_id, or by to_phone for SMS and WhatsApp. SMS, WhatsApp and Telegram can start a conversation cold; Facebook and Instagram need an inbound message first. idempotency_key is required in the body, or send the Idempotency-Key header. This reaches a real person on their phone. Confirm the recipient and the text with the user before calling.
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": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | send_message | |
| platform | No | With platform_user_id, route by the channel identity. | |
| reaction | No | For react, for example love. | |
| to_phone | No | E.164. SMS and WhatsApp only. Starts a conversation if none exists. | |
| message_text | No | For send_message. | |
| template_name | No | WhatsApp template, outside the 24-hour window. | |
| conversation_id | No | Route by conversation. | |
| idempotency_key | No | Required unless the Idempotency-Key header is sent. A replay returns the original result with status duplicate. | |
| platform_user_id | No | ||
| target_message_id | No | For react and unreact. | |
| template_language | No | ||
| template_components | No |