search_contacts
Locate contacts with advanced NSE queries supporting operators like is, contains, in, range, and date filters to narrow results precisely.
Instructions
Search contacts with an advanced NSE query.
Args: query_json: JSON string with search criteria. Format: {"and": [{"field name": {"operator": "value"}}]} Operators: is, is_not, contain, not_contain, starts_with, is_empty, in, range, gt, gte, lt, lte, in_the_last, not_in_the_last, day_month_range. Example: {"and": [{"first name": {"is": "Jack"}}, {"company name": {"contain": "Acme"}}]} per_page: Results per page (default 30). page: Page number (starts at 1).
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_json": "<query_json>"
},
"name": "search_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No | ||
| query_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |