List leads
list_leadsPeople who left their details in a demo’s lead form or email gate (or a collection’s gate), newest first: email, name, company, phone, which demo, source, country, referrer, time, the answers to the form’s custom fields (answers: key, label, value), the campaign they came from (utm: source, medium, campaign, term, content, and ad click ids) and their intent score (0–100: how engaged their viewing session was; null when not computed). Search by query (email, name or company), filter by demo or by utmSource / utmCampaign (exact values), sort: "intent" for the most engaged first. Paginate with cursor. This is personal data: use it for the user’s request only.
Requires: demos:read, leads:read.
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_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | "recent" (default): newest first. "intent": highest intent score first. | |
| limit | No | ||
| query | No | ||
| cursor | No | nextCursor from the previous page. | |
| demoId | No | ||
| utmSource | No | Only leads whose utm_source is exactly this, e.g. "newsletter". | |
| utmCampaign | No | Only leads whose utm_campaign is exactly this. |