find_leads
Search leads in the app the request is scoped to. Returns bounded named summaries and IDs, never full rows. Use get_lead to load full detail for a specific id. Default source is 'discovered' (agent-found, awaiting approval); pass source='approved' to search leads already in campaigns. Optional 'search' keyword runs an ILIKE across name/company/headline; optional 'status' narrows by lead status. If results are thin, surface the count and ASK the user before broadening the filters — do not silently relax constraints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Max number of leads to return (1..50) | |
| search | No | Optional keyword (matches name, company, or headline) | |
| source | No | Lead source. Default 'discovered'. | |
| status | No | Optional status filter (e.g. 'pending', 'approved', 'rejected') |