get_business_details
Retrieve enriched business details by ID from available data providers and optionally discover a missing official website to support B2B lead qualification.
Instructions
Retrieve enriched details for a specific business by ID.
Looks up the entity across all available providers (OpenStreetMap, demo fixtures).
If the business is missing a website and `auto_enrich_website` is True,
attempts to discover its official website.
Args:
business_id: Unique identifier (e.g. 'osm_node_12345', 'osm_way_67890', or 'demo_001').
auto_enrich_website: If True, search for missing official website if not present in OSM tags.
Returns:
Dict containing:
- found (bool): Whether the business was resolved
- business (dict|null): Enriched business record
- provider (str): Source of the data
- attribution (str|null): Mandatory attribution notice if source is OSM
- enriched_fields (list[str]): Fields added or updated via enrichment
Compliance:
- Respects OSM ODbL attribution.
- Does not scrape private personal information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| business_id | Yes | ||
| auto_enrich_website | No |