Count Companies
count_companiesPreview how many companies a search query matches without spending credits. Size or verify a query before running the paid search.
Instructions
Counts the companies a search_companies query would match, without returning them. Free; no credits deducted. Use it to size or check a query before running the paid search. Takes the same filter, semantic and lookalike arguments as search_companies. Returns count, the matches your plan can access, and total, all matches. A semantic query also returns interpretation, the filters inferred from it.
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": "count_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Same as `filter` in search_companies. | |
| semantic | No | Same as `semantic` in search_companies. | |
| lookalike | No | Same as `lookalike` in search_companies. |