Search businesses
search_businessesSearch the AgentWeb global business directory. Use agentweb_health for current counts. If a business is not in the database yet, AgentWeb tries to discover it from the web in real time (~3s) and saves it. Returns markdown prose by default. Supports text search (q), category, city/country, and geographic search (lat+lng+radius_km). ONE CALL RETURNS EVERYTHING: name, phone, email, hours, website, address, geo, trust score. Use format='json' for structured JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Text search query, e.g. 'noma', 'thai restaurant', 'dentist near me' | |
| lat | No | Latitude for geographic search (requires lng and radius_km) | |
| lng | No | Longitude for geographic search (requires lat and radius_km) | |
| city | No | City name for location filter | |
| limit | No | Maximum number of results (default: 10, max: 100) | |
| cursor | No | Pagination cursor from a previous response's meta.next_cursor | |
| format | No | Response format. 'text' (default) returns markdown prose; 'json' returns structured JSON. | text |
| country | No | Country code (ISO 3166-1 alpha-2, e.g., 'US', 'GB', 'DK') | |
| category | No | Business category filter (e.g., 'restaurant', 'hotel', 'pharmacy') | |
| radius_km | No | Search radius in kilometers (used with lat/lng) |