List Campaigns
list_campaignsLists the email campaigns of the signed-in Mailpro account, most recent first, with their main counters (sent, opens, clicks, bounces, unsubscriptions). Use it to find a campaign id. Dates are Mailpro server time (Central European Time).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| page_size | No | Campaigns per page, 1 to 50. Default 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| has_more | Yes | True when a next page may exist. | |
| campaigns | Yes | ||
| page_size | Yes |