score_leads
Queue AI qualification scoring for leads by job ID or specific lead IDs. Runs in the background, returns a count, and scores appear on leads afterward.
Instructions
Queue AI qualification scoring for leads — either every unscored lead in a search job, or a specific set of ids.
Pass jobId OR leadIds, not both. This runs in the BACKGROUND: it returns a count immediately and the scores appear on the leads afterwards, so re-read them with list_leads rather than expecting scores in this response.
CONSUMES AI CREDITS per lead scored. Requires an API key. Passing leadIds rescores leads even if they already have a score, which bills again — pass jobId to score only what is unscored. Caps at 200 ids per call.
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": "score_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Score all unscored leads for this job UUID (use this OR leadIds) | |
| leadIds | No | Specific lead UUIDs to (re)score (max 200, use this OR jobId) |