Export leads to CSV
lead_exportGenerate a CSV of leads filtered by campaign, status and tags. Returns a filename served from the CDN. Use it when the user wants a file. To read leads in the conversation use lead_list; for campaign performance numbers rather than people, campaign_export_stats.
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": "lead_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tag ids to filter by, from `tag_list`. | |
| campaignId | No | Campaign id, from `campaign_list` or `campaign_create`. | |
| leadStatus | No | Filter by lead pipeline status. |