List campaigns
list_campaignsRetrieve non-archived campaigns newest first, or filter to archived campaigns or a specific folder, to support scoped campaign management.
Instructions
List campaigns.
Required API key scope: campaigns:read.
GET /campaigns
Returns non-archived campaigns, newest first. With archived=true, returns only ARCHIVED campaigns (and folderId is ignored).
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 |
|---|---|---|---|
| archived | No | `true` to list only archived campaigns. | |
| folderId | No | Folder id, or `root` for items not in any folder. |