send_sms
Send SMS text messages via Twilio and receive a message SID to track delivery status.
Instructions
Send an SMS text message via Twilio.
WORKFLOW:
Call send_sms(to="+33612345678", body="Your message here")
Get back a message_sid and status
Optionally call get_sms_status(message_sid=...) later to confirm delivery
PARAMETERS:
to: Recipient phone number in E.164 format ("+33612345678" for France, "+15551234567" for US). Must include country code with + prefix.
body: The text message content. Max 1600 characters (messages over 160 characters are split into segments and billed per segment).
from_number: Override the sender phone number. Default: TWILIO_PHONE_NUMBER env var. Must be a Twilio number you own.
RETURNS:
message_sid: Unique identifier for tracking this message
status: Initial status (typically "queued")
to/from: The phone numbers used
segments: Number of message segments (billing units)
TIPS:
Keep messages under 160 characters for 1 segment (cheapest)
Unicode characters (accents, emojis) reduce the limit to 70 chars/segment
Use get_sms_status() to verify delivery if needed
Args: to: Recipient phone number in E.164 format (e.g. "+33612345678") body: The text message content (max 1600 characters) from_number: Sender phone number override (default: TWILIO_PHONE_NUMBER env var)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| body | Yes | ||
| from_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |