get_business
Retrieve comprehensive business details including address, contact information, hours, services, and location data from a global directory for AI applications.
Instructions
Get full details for one or more businesses: address, phone, website, opening hours, services, payment methods, social links, logo, business image, coordinates. Pass comma-separated IDs for batch.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | One or more business IDs, comma-separated for batch (e.g. "id1,id2,id3") |
Implementation Reference
- server.ts:83-88 (handler)Registration and handler implementation for the 'get_business' tool. It uses the `api` helper to fetch data from `/business/${id}`.
server.tool( 'get_business', 'Get full details for one or more businesses: address, phone, website, opening hours, services, payment methods, social links, logo, business image, coordinates. Pass comma-separated IDs for batch.', { id: z.string().describe('One or more business IDs, comma-separated for batch (e.g. "id1,id2,id3")') }, async ({ id }) => jsonContent(await api(`/business/${id}`)) );