sms
Send transactional or marketing SMS, manage recipients, and track performance using this tool. Perform batch sends, retrieve events, and analyze statistics for SMS campaigns.
Instructions
SMS operations - send transactional SMS, manage SMS contacts
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | No | SMS message content | |
days | No | Number of days for statistics | |
endDate | No | End date for events/statistics (YYYY-MM-DD) | |
event | No | Event type for filtering | |
limit | No | Limit for events/statistics | |
offset | No | Offset for pagination | |
operation | Yes | SMS operation to perform | |
phoneNumber | No | Phone number for filtering events | |
recipient | No | Phone number for single SMS | |
recipients | No | Phone numbers for batch SMS | |
sender | No | SMS sender name/number | |
sort | No | Sort order for events | |
startDate | No | Start date for events/statistics (YYYY-MM-DD) | |
tag | No | Tag for SMS tracking | |
tags | No | Tags for filtering events | |
type | No | SMS type | transactional |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "SMS message content",
"type": "string"
},
"days": {
"description": "Number of days for statistics",
"type": "number"
},
"endDate": {
"description": "End date for events/statistics (YYYY-MM-DD)",
"type": "string"
},
"event": {
"description": "Event type for filtering",
"type": "string"
},
"limit": {
"description": "Limit for events/statistics",
"type": "number"
},
"offset": {
"description": "Offset for pagination",
"type": "number"
},
"operation": {
"description": "SMS operation to perform",
"enum": [
"send",
"send_batch",
"get_events",
"get_statistics"
],
"type": "string"
},
"phoneNumber": {
"description": "Phone number for filtering events",
"type": "string"
},
"recipient": {
"description": "Phone number for single SMS",
"type": "string"
},
"recipients": {
"description": "Phone numbers for batch SMS",
"type": "array"
},
"sender": {
"description": "SMS sender name/number",
"type": "string"
},
"sort": {
"description": "Sort order for events",
"type": "string"
},
"startDate": {
"description": "Start date for events/statistics (YYYY-MM-DD)",
"type": "string"
},
"tag": {
"description": "Tag for SMS tracking",
"type": "string"
},
"tags": {
"description": "Tags for filtering events",
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"default": "transactional",
"description": "SMS type",
"enum": [
"transactional",
"marketing"
],
"type": "string"
}
},
"required": [
"operation"
],
"type": "object"
}