Preview Create Search
preview_create_searchSIZE A MARKET WITHOUT CREATING ANYTHING: how many people (or, with object_type account, companies) a data provider has for a create search, a sample of ten, and how they split against this CRM -- employers already accounts, people already contacts. The same free search preview_records_run makes, with no run: for 'how many VPs of Sales are there at US software companies' or comparing a few ways to cut a market, call this once per cut instead of creating a run to preview and deleting it, and instead of overwriting the saved TAM with set_tam. Same search rows as create_records_run (call list_search_criteria for the vocabulary). Free: no credit is spent and nothing is written. available is the whole count; when you want to bring the people in, create the run.
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": {
"connection_id": "<connection_id>",
"search": "<search>"
},
"name": "preview_create_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | Who to bring in, as rows of input/operator/value. Every row must hold (they are ANDed); several values in one row mean ANY of them. Call list_search_criteria for each input's operators and its exact vocabulary: the values that read most plausibly are often the ones this provider refuses. person_ids is exclusive: it NAMES people, so it cannot share a search with rows that describe a population. Specific people, by provider id (is): free text Job title (contains/is exactly/is not): free text; “is exactly” wants the WHOLE title character for character (“Vice President, Global Sales Operations”), so it usually finds nobody; “contains” is almost always what you want. Job function (is): one of 186 values Management level (is/is not): one of 6 values Department (is): one of 11 values Industry (is/is primarily): one of 180 values Company name (is): free text Company, by provider id (is): free text Company type (is): one of 3 values State or region (is): free text; matches the company's HEADQUARTERS state or the person's own location, mostly the former: a Texas-headquartered company's staff anywhere match Texas Country (is): free text Postal code (is): free text Has (is): one of 5 values; several values mean ALL of them, so this input NARROWS. “email” is worth reaching for: barely half of any population has a business email Employees (at least/at most): a whole number Revenue (at least/at most): a whole number Contact accuracy (at least): a whole number; 70 to 99 | |
| provider | No | The data provider to search. Omit for ZoomInfo. Clay has no search to size. | |
| object_type | No | What to count: contact or lead searches people, account searches companies. Defaults to contact. | contact |
| connection_id | Yes | The CRM connection. Required. Call list_crm_connections to get one. |