List Campaigns
list_campaignsList a page of campaigns for the organisation. Use when the user asks "what campaigns do I have?" or "show my active campaigns". Returns each campaign brief and status; use get_campaign for linked audience details. Pass the returned next_cursor as cursor to fetch another page. Requires 'discovery' scope.
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 |
|---|---|---|---|
| limit | No | Maximum campaigns per page (default 10) | |
| cursor | No | next_cursor from a previous list_campaigns page | |
| status | No | Optional filter by campaign status | |
| compact | No | Return small name/status summaries by default; set false for each saved brief and timestamps. Call get_campaign for linked audiences. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| guidance | No | Interpretation or recovery guidance for this result | |
| campaigns | Yes | ||
| count_unit | No | ||
| page_count | No | Number of objects on this page, not the organization total | |
| count_state | No | Unknown means no count; available does not guarantee freshness. Recount for a current value. | |
| next_cursor | Yes | ||
| next_actions | No | Suggested next calls using returned IDs and available scopes. Not executed and not user consent. | |
| population_input | No | Population input used for the preview; IDs refer to their current saved definitions |