Get batch
get_batchGet a batch send (the batch_id a batch send returned, also on each of its emails as batch_id): how many emails it has and how many are in each status now.
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 | Batch id (batch_…) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Emails in the batch | |
| counts | Yes | Emails by current status, for example { "scheduled": 98, "sent": 2 }. Only statuses with an email appear | |
| batch_id | Yes | Batch id (batch_…) | |
| created_at | Yes | When the batch's first email was created (ISO 8601) |