Send text message (write)
send_text_messageSend SMS or MMS replies in a conversation, including media attachments, with mandatory opt-out instructions.
Instructions
WRITE: Send an SMS/MMS reply in a conversation. Outbound texts must include opt-out instructions per compliance rules. Provide media_url for MMS.
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": {
"conversation_id": "<conversation_id>",
"content": "<content>"
},
"name": "send_text_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Message text. | |
| media_url | No | Public URL of a media file to attach (MMS). | |
| account_id | No | CallRail account id. Defaults to CALLRAIL_ACCOUNT_ID if set. | |
| conversation_id | Yes | The conversation id to reply in. |