count_contractors
Count contractors matching a state × trade × geo query, without charging. Use to qualify a query before calling search_contractors. Returns total count and estimated cost in cents at the caller's price tier.
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": {
"state": "<state>",
"trade": "<trade>",
"geo_type": "<geo_type>",
"geo_value": "<geo_value>"
},
"name": "count_contractors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| trade | Yes | ||
| geo_type | Yes | ||
| geo_value | Yes | ||
| active_only | No |