> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# TripAdvisor

**Authentication:** API key. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow.

## Sample use cases

* Find restaurants near the Berlin Hauptbahnhof with 4+ stars open for dinner tonight.
* List the top 10 hotels in Tokyo for the week of June 1, sorted by rating.
* Show me attractions within walking distance of the Vienna Opera House.

## Available Tools

#### search\_locations

Search TripAdvisor locations by text query. Optionally filter by category (hotels, attractions, restaurants, geos), address, phone, or lat/long with radius. Returns up to 10 results.

#### search\_nearby\_locations

Search TripAdvisor locations near a latitude/longitude coordinate. Optionally filter by category, address, phone, or radius. Returns up to 10 nearby results.

#### get\_location\_details

Get detailed information for a TripAdvisor location by ID. Returns name, description, address, rating, reviews count, ranking, contact info, hours, amenities, cuisine, and more.

#### get\_location\_photos

Get photos for a TripAdvisor location. Returns up to 5 high-quality photos per request. Filter by source (Expert, Management, Traveler). Use offset from page\_info for pagination.

#### get\_location\_reviews

Get reviews for a TripAdvisor location. Returns up to 5 recent reviews per request. Use offset from page\_info for pagination.