Send an SMS from an Upload-Post phone number
send_smsSends SMS from an active Upload-Post phone number after a preview and explicit approval, while blocking unsupported or opted-out recipients and enforcing usage limits.
Instructions
Send an SMS from one of the account's Upload-Post phone numbers (phone_numbers_read list: the number must be active and have sms_send: true). Billed per message part on the next subscription invoice. US and Canadian numbers cannot send SMS yet (403 sms_registration_required; they still receive), and some numbers have no SMS at all (403 sms_not_supported). Recipients who replied STOP cannot be messaged (409 recipient_opted_out); at most 10 messages per recipient per 24 h (429 sms_recipient_limit) and 1 per second per number (429 sms_rate_limited); spam, adult, gambling, drugs, crypto and loan content is refused (422 sms_content_blocked). Over the account's daily usage limit (429 phone_usage_daily_cap) sending stops until midnight UTC. Other errors: 403 phone_number_suspended, 409 phone_number_not_active. Replies arrive in phone_numbers_read messages and in the sms_received webhook. Not generally available yet: the API answers 403 phone_numbers_not_available until phone numbers are available for the account (phone_numbers_read config answers enabled: false). Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.
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": {
"number_id": "<number_id>",
"to": "<to>",
"text": "<text>"
},
"name": "send_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient in E.164, e.g. '+34600111222'. | |
| text | Yes | Message text (up to 1600 characters; long texts go as several billed parts). | |
| confirmed | No | Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent. | |
| number_id | Yes | The Upload-Post number to send from (`pn_...`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |