Check a batch
get_batchEvery text of one send (its batchId, from send_sms or send_sms_batch) and how many are at each status. Done when nothing is left at scheduled, queued or dispatched.
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": {
"batch_id": "<batch_id>"
},
"name": "get_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| counts | Yes | ||
| batchId | Yes | ||
| messages | Yes |