List leads
sprkly_list_leadsPeople an automation answered in the last days (default 7), newest first: their handle, the keyword they used, the post they asked under, and the email they gave, if any. Filter by account, keyword or has_email. opted_out is true when the person sent STOP; never contact them. Never message a lead unless the user asks. Needs inbox access.
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": "sprkly_list_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back. Default 7, up to 90. | |
| limit | No | How many people. Default 50, up to 200. | |
| keyword | No | Only people who used this keyword, like LINK. | |
| has_email | No | true: only people who gave an email. false: only people who did not. | |
| profile_id | No | Only this connected account. |