Search local businesses
search_businessesFind local businesses in Connecticut and Massachusetts by trade, problem, name and place, nearest first. Understands problems as the trade that fixes them ('no heat' = HVAC, 'overflowing toilet' = plumbers, 'car won't start' = towing). Returns 20 results a page with phone, address, website, open-now status when the hours are known, whether a contractor's state license was verified, and the TownIndex page url.
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_businesses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of 20 results. | |
| query | Yes | What and where in plain words: a trade, a problem or a business name, and a town or ZIP code. Examples: 'plumber in Wolcott', 'no heat 06114', 'pizza Hartford', 'locksmith Worcester MA'. | |
| state | No | Only this state. | |
| near_zip | No | The user's ZIP code: used to rank by distance when the query names no place. | |
| open_now | No | Only businesses open right now (by their hours, their emergency hours, or on call). If none is known to be open, all matches are returned instead, with fallback set. | |
| emergency_now | No | Only businesses taking emergency calls right now (24/7 emergency service or on call). If none is known, all matches are returned instead, with fallback set. |