Search local businesses
search_local_businessesFind local businesses on WRDO in the Western Cape by what they do (or their name), optionally in a town or suburb, optionally narrowed by category, price list, price and whether they are open now. Example: "hairdressers in Paarl under R200 that are open now". Give "what" (words) and/or "category" (an exact slug from list_categories). Returns id, name, category, area, verified (claimed by the owner), page_url, start_url, has_price_list, price_from_rand (cheapest listed price, rand, or null) and open_now (true, false or null when unknown). When any of has_price_list, max_price_rand or open_now is used, only the top 100 matches are checked (a message says so). open_now uses opening hours that verified businesses publish; a business without readable hours is left out when open_now is true. No contact details: to reach a business, give the person its start_url.
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": "search_local_businesses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | No | What the person needs: a kind of business or service ("plumber", "pizza") or a business name. Optional when "category" is given. | |
| limit | No | How many results, 1 to 20 (default 10). | |
| where | No | A town or suburb in the Western Cape, e.g. "Paarl" or "Val de Vie, Paarl". Leave out for the whole Western Cape. | |
| category | No | Only businesses in this category: an exact plural slug such as "restaurants", "hair-salons" or "plumbers" (list_categories returns the valid slugs and which have businesses). An unknown slug returns an error listing the valid ones. | |
| open_now | No | true: only businesses that are open right now in South Africa (SAST). Only verified businesses with readable hours can match; those without hours are excluded. Leave out when the person does not need it. | |
| has_price_list | No | true: only businesses with a price list or menu on WRDO (so get_price_list will have content). false: only those without. Leave out for both. | |
| max_price_rand | No | Only businesses with at least one listed item priced at or under this many rand (e.g. 200). Businesses without a listed price never match. The cheapest price may be unconfirmed (from their website); get_price_list says so. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| message | No | ||
| results | Yes |