score_leads
Queue AI qualification scoring for leads in a background job. Use a job ID to score all unscored leads, or pass lead IDs to rescore up to 200 leads.
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.
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) |