{
  "id": "litescrape.tripadvisor.search",
  "object": "tool",
  "name": "Search Tripadvisor",
  "summary": "Search Tripadvisor by text, geography, coordinates, and place type.",
  "description": "Search Tripadvisor for hotels, restaurants, attractions, and geographies. Returns search_results (name, place type, rating, review count, location, and the place_id for the place and reviews endpoints) with pagination. Supports a place-type filter, a geography id or lat/lon center, a locale and localized domain, and 1-30 results per page. For one place's details and prices pass its place_id to tripadvisor/place, for its reviews to tripadvisor/reviews. Suited for travel research, hotel and restaurant discovery, and review sourcing.\n\nRaw litescrape#tripadvisor/search endpoint: input is { body, queryParams, pathParams } as the provider documents them (https://litescrape.com/docs/tripadvisor-search).",
  "category": "lookup",
  "hosted_by": "Litescrape",
  "runtime": "partner",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": null,
  "providers": [
    {
      "id": "litescrape",
      "name": "Litescrape",
      "price": null,
      "own_key_only": true
    }
  ],
  "mcp_name": "litescrape_tripadvisor_search",
  "input_schema": {
    "type": "object",
    "properties": {
      "queryParams": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500,
            "description": "Search text, up to 500 characters."
          },
          "tripadvisor_domain": {
            "type": "string",
            "pattern": "^www\\.tripadvisor\\.[a-z]{2,3}(\\.[a-z]{2,3})?$",
            "description": "Localized Tripadvisor hostname. Default 'www.tripadvisor.com'."
          },
          "locale": {
            "type": "string",
            "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{2})?$",
            "description": "Language or language-COUNTRY code, such as 'en-US'. Default 'en-US'."
          },
          "geo_id": {
            "type": "string",
            "pattern": "^[1-9]\\d*$",
            "description": "Tripadvisor geography id to search within."
          },
          "lat": {
            "type": "number",
            "minimum": -90,
            "maximum": 90,
            "description": "Search-center latitude. Requires lon."
          },
          "lon": {
            "type": "number",
            "minimum": -180,
            "maximum": 180,
            "description": "Search-center longitude. Requires lat."
          },
          "place_type": {
            "type": "string",
            "enum": [
              "all",
              "accommodation",
              "attraction",
              "attraction_product",
              "eatery",
              "geo"
            ],
            "description": "Result entity type. Default 'all'."
          },
          "start": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000,
            "description": "Result offset, 0-10,000. Default 0."
          },
          "num": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "description": "Number of results, 1-30. Default 30."
          }
        },
        "required": [
          "q"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "queryParams"
    ],
    "additionalProperties": false
  },
  "kind": "endpoint"
}