search_prospects
Search prospects across every campaign in the workspace, with the same filters as the app's Prospects page: campaign, sending account, state (including suppressed), blocklisted, replied, contacted, how they were added (app, API, MCP, integration, or unknown for older rows), and a free-text query. Each prospect carries addedVia {channel, method, actorName, createdAt}. meta.total is the total matching the filters; pass meta.nextCursor back as cursor for the next page. Searches across every campaign. For one campaign's prospects use list_campaign_prospects.
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": "search_prospects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text query (name / job title / company / email) | |
| limit | No | Page size. Default 50, max 200. | |
| state | No | Only prospects in this state (suppressed = another campaign already owns the lead). Omit for all. | |
| cursor | No | Opaque pagination cursor from a previous response's meta.nextCursor | |
| replied | No | true = state replied, false = everyone who hasn't replied. | |
| added_via | No | How the person was added: app, api, mcp, integration, or unknown (added before this was tracked). | |
| contacted | No | true = sequence has started (current step >= 1), false = not contacted yet (step 0). | |
| account_id | No | Only prospects sent from this LinkedIn account. | |
| blocklisted | No | Filter by whether the prospect is blocklisted. Omit for both. | |
| campaign_id | No | Only this campaign (id from list_campaigns). Omit for no filter. |