androidapi_send_sms
Send a single SMS to a recipient using your linked Android device or gateway credits. Supports spintax in the message body.
Instructions
Send a single SMS to one recipient. Spintax supported in the message body.
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": {
"mode": "<mode>",
"phone": "<phone>",
"message": "<message>"
},
"name": "androidapi_send_sms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sim | No | [devices mode] SIM slot. | |
| mode | Yes | 'devices' = linked Android device; 'credits' = gateway/balance. | |
| phone | Yes | Recipient phone number (E.164 or local format). | |
| device | No | [devices mode] Device unique ID. | |
| gateway | No | [credits mode] Gateway or partner device ID. | |
| message | Yes | Message body. Spintax supported. | |
| priority | No | [devices mode] 0/1 = high priority (immediate), 2 = normal queue. | |
| shortener | No | URL shortener ID to apply to links. |