List a campaign's queue
list_campaign_queueUse this when the user wants to review a campaign's messages in one state: waiting for approval (written by AI), scheduled, sent, skipped, declined, or replaced by an edit. status is required. Returns each message's subject, body, time and person; for the next page, send the page's next cursor with the same status and channel. Free.
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": {
"campaignId": "<campaignId>",
"status": "<status>"
},
"name": "list_campaign_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The `pagination.nextCursor` of the page before. Later pages keep the first page's size. | |
| status | Yes | The messages to list: `approval_required` (written by AI, waiting for your approval), `scheduled` (going out at `scheduledAt`), `sent`, `skipped`, `stopped` (declined) or `overwritten` (replaced by an edit). | |
| channel | No | Only the messages of this channel. | |
| pageSize | No | Items per page. | |
| campaignId | Yes | The campaign's id. |