Search leads
search_leadsSearch sales pipeline leads by name, service, city, email, phone, notes, stage, source, or score to find and filter matching records. Use sort and pagination to review ranked results.
Instructions
Search the pipeline. Text matches name, service, city, email, phone, and notes, case-insensitive for ASCII. Results are ranked inside the 500 most recently updated matches. When truncated is true, narrow the query. Scores are computed, not stored.
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": "search_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Default updated_at, newest first. | |
| text | No | Case-insensitive ASCII match on name, service, city, email, phone, and notes. | |
| limit | No | Page size. Default 25. | |
| stage | No | ||
| offset | No | Default 0. | |
| source | No | ||
| minScore | No | Inclusive priority score floor. Applied after the scan. |