send_sms
Sends real SMS or MMS from an agent's connected number in direct or agent-written mode, then bills the workspace for messages sent.
Instructions
Send a REAL SMS from the agent's connected SMS number. sendMode=direct (default) sends message as written; sendMode=agent lets the agent write the text (message is then optional). mediaUrls sends MMS. Bills the workspace. For WhatsApp / Messenger / Instagram replies use send_channel_message instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient, E.164. | |
| from | No | Optional: a specific connected number. Defaults to the agent's primary SMS number. | |
| mode | No | compact (default) = light mode: long text is cut and bulky blobs are replaced by a size marker. full = complete API response. | |
| agentId | Yes | ||
| convoId | No | Optional custom conversation id. Defaults to the recipient digits. | |
| message | No | Text to send. Required for sendMode=direct. | |
| options | No | Optional per-message agent overrides. | |
| leadInfo | No | Optional details about the person (username, email, address, company, notes…) the agent can use to personalize. | |
| sendMode | No | ||
| mediaUrls | No | Up to 10 MMS media URLs. | |
| campaignId | No |