Place Details Tool
place_details_toolRetrieve detailed place information like photos, opening hours, ratings, phone, and website using a Mapbox ID from previous searches.
Instructions
Retrieve detailed information about a specific place using its Mapbox ID. Use after search_and_geocode_tool, category_search_tool, or reverse_geocode_tool to get additional details such as photos, opening hours, ratings, phone numbers, and website URLs. Requires the mapbox_id field from a previous search result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | BCP 47 language tag for localized results (e.g. "en", "fr", "de", "ja"). Affects place names and address formatting. | |
| mapbox_id | Yes | The Mapbox ID of the place to retrieve details for. Obtained from search results returned by search_and_geocode_tool, category_search_tool, or reverse_geocode_tool (the mapbox_id field in properties). | |
| worldview | No | Worldview for geopolitically sensitive content such as disputed borders. Options: "ar" (Argentina), "cn" (China), "in" (India), "jp" (Japan), "ma" (Morocco), "ru" (Russia), "tr" (Turkey), "us" (United States, default). | |
| attribute_sets | No | Which attribute sets to include in the response. Options: "basic" (address/coordinates, always included), "photos" (place photo URLs), "visit" (opening hours, rating, price level, popularity), "venue" (phone number, website URL, social media links). When not specified, only basic attributes are returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| geometry | Yes | ||
| properties | Yes |