List a campaign's leads
list_campaign_leadsUse this when the user asks who is in a campaign and how each person is doing: where they are in the sequence, whether they opened, clicked, replied or accepted an invitation, the A/B variants they were given and the account that first wrote to them. search matches a name or a company; for the next page, send the page's next cursor with the same search. 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>"
},
"name": "list_campaign_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The `pagination.nextCursor` of the page before. Later pages keep the first page's size. | |
| search | No | Only leads whose name or company contains this text, in any case. | |
| pageSize | No | Items per page. | |
| campaignId | Yes | The campaign's id. |