Search Leads By Natural Language Tool
search-leads-by-natural-language-toolSearches the authenticated tenant's leads using a free-text natural language query (Turkish or English), e.g. "qualified leads from web forms with high intent". The query is parsed into a constrained filter whitelist by an LLM — it can never generate arbitrary database queries. Returns the same anonymized scoring data as search-leads-tool (no name, email, phone, or company), plus which filters were inferred from the query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search-leads-by-natural-language-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of leads to return. | |
| query | Yes | Free-text natural language description of the leads to find. |