Campaigns / MCP

List campaigns

List all campaigns in your workspace. Filter by status (draft, active, paused, completed) and paginate results.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
statusOptional · string
See the input schema for this field.draft · active · paused · completed
pageOptional · number
See the input schema for this field.
limitOptional · number
See the input schema for this field.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list-campaigns",
    "arguments": {}
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "active",
        "paused",
        "completed"
      ]
    },
    "page": {
      "type": "number"
    },
    "limit": {
      "type": "number"
    }
  }
}
See this operation inCLI REST API TypeScript SDK
MCP reference | Pipeline v2 preview