ghl_send_message
Send messages to contacts via SMS, email, WhatsApp, or other channels. Supports scheduling, attachments, and HTML for email for complete outbound communication.
Instructions
Send a message to a contact via SMS, email, WhatsApp, or other channel. This is the primary tool for outbound communication.
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": {
"contactId": "<contactId>",
"type": "<type>",
"message": "<message>"
},
"name": "ghl_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | HTML body for email | |
| type | Yes | Message channel type | |
| message | Yes | Message body text | |
| subject | No | Email subject (required for Email type) | |
| fromName | No | Sender name override | |
| contactId | Yes | The contact to message | |
| fromNumber | No | Sender phone number override | |
| attachments | No | Array of attachment URLs | |
| scheduledTimestamp | No | Unix timestamp (seconds) to schedule message | |
| conversationProviderId | No |