TripWays

Find, price, and book tours, day trips, and activities worldwide, with live dates and prices.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
98%
Vollständigkeit des Schemas
88%
Qualität der Benennung
98%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~8,630Tokens (Tool-Definitionen)
~7.1 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (6.74% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "tours": {
      "url": "https://mcp.tripways.com/mcp"
    }
  }
}

Remote-Endpunkte

https://mcp.tripways.com/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (12)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢search_tours(query, destination, price_min, price_max, duration_hours_min, ...)

Search the TripWays catalog of bookable tours, day trips, and activities worldwide. Pass a natural-language query plus any filters you already know: destination, price range in USD, duration in hours, activity, theme, or cancellation policy. Returns ranked tours with bokun_id, title, from-price, duration, destinations, rating, cancellation policy, hero_image, the TripWays page (url), and checkout_url. For live dates, remaining seats, or a group total, use check_availability and get_price_quote.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 500,
      "description": "Natural-language search, e.g. 'family food tour in Rome under $100'."
    },
    "destination": {
      "type": "string",
      "maxLength": 120,
      "description": "Place name (city, region, country, or well-known area/landmark). Resolved against TripWays destinations; a landmark that is not a destination is added to the search text."
    },
    "price_min": {
      "type": "number",
      "minimum": 0
    },
    "price_max": {
      "type": "number",
      "minimum": 0
    },
    "duration_hours_min": {
      "type": "number",
      "minimum": 0
    },
    "duration_hours_max": {
      "type": "number",
      "minimum": 0
    },
    "activity": {
      "type": "string",
      "maxLength": 60,
      "description": "Activity facet, e.g. food, hiking, snorkeling."
    },
    "theme": {
      "type": "string",
      "maxLength": 60
    },
    "cancellation": {
      "type": "string",
      "enum": [
        "free",
        "flexible",
        "partial",
        "non_refundable"
      ]
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 8
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "did_you_mean": {
      "type": "array",
      "description": "Candidate destinations when the place name matched more than one location."
    },
    "tours": {
      "type": "array",
      "description": "Ranked tours; empty when nothing matched (see note).",
      "items": {
        "type": "object",
        "properties": {
          "bokun_id": {
            "type": "string",
            "description": "Tour id; the number in tripways.com/t/{id}."
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "The tour's TripWays page."
          },
          "checkout_url": {
            "type": "string",
            "description": "TripWays checkout for this tour."
          },
          "hero_image": {
            "type": "string",
            "description": "Main photo URL."
          },
          "from_price": {
            "type": "object",
            "description": "What one adult pays: the tour page's From price, the same price Google shows.",
            "properties": {
              "amount": {
                "type": "number",
                "minimum": 0
              },
              "currency": {
                "type": "string"
              }
            }
          },
          "duration_text": {
            "type": "string"
          },
          "duration_hours": {
            "type": "number"
          },
          "destinations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "activities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cancellation": {
            "type": "string",
            "description": "free, flexible, partial, or non_refundable."
          },
          "rating": {
            "type": "object",
            "properties": {
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "count": {
                "type": "integer"
              },
              "low_confidence": {
                "type": "boolean",
                "description": "True when there are fewer than 10 reviews."
              }
            }
          },
          "hotel_pickup": {
            "type": "boolean"
          },
          "bookable_natively": {
            "type": "boolean",
            "description": "True when checkout_url opens TripWays checkout; false when it opens the operator calendar."
          },
          "reason": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why checkout works the way it does, e.g. pickup_required."
          },
          "gttd_eligible": {
            "type": "boolean",
            "description": "Listed on Google Things to Do."
          }
        }
      }
    },
    "note": {
      "type": "string",
      "description": "Why the list is empty or how the destination was read."
    },
    "destination_resolved": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        },
        "level": {
          "type": "string",
          "description": "country, region, city, or district."
        },
        "country_code": {
          "type": "string"
        },
        "hierarchy": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "url": {
          "type": "string",
          "description": "The destination's TripWays page."
        },
        "tour_count": {
          "type": "integer"
        },
        "browseable": {
          "type": "boolean"
        },
        "resolved_via": {
          "type": "string",
          "description": "area_alias when a landmark maps to its parent destination."
        },
        "alias": {
          "type": "string"
        }
      }
    },
    "guidance": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_tour_details(bokun_id)

Get the full details of one TripWays tour by bokun_id (the number in tripways.com/t/{id}): summary, itinerary stops, inclusions and exclusions, languages, cancellation policy, meeting point or pickup, from-price, rating, hero_image, url, and checkout_url. Live dates and group totals come from check_availability and get_price_quote.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    }
  },
  "required": [
    "bokun_id"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "bokun_id": {
      "type": "string",
      "description": "Tour id; the number in tripways.com/t/{id}."
    },
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "description": "The tour's TripWays page."
    },
    "checkout_url": {
      "type": "string",
      "description": "TripWays checkout for this tour."
    },
    "hero_image": {
      "type": "string",
      "description": "Main photo URL."
    },
    "from_price": {
      "type": "object",
      "description": "What one adult pays: the tour page's From price, the same price Google shows.",
      "properties": {
        "amount": {
          "type": "number",
          "minimum": 0
        },
        "currency": {
          "type": "string"
        }
      }
    },
    "duration_text": {
      "type": "string"
    },
    "duration_hours": {
      "type": "number"
    },
    "destinations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "themes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "activities": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cancellation": {
      "type": "string",
      "description": "free, flexible, partial, or non_refundable."
    },
    "rating": {
      "type": "object",
      "properties": {
        "value": {
          "type": [
            "number",
            "null"
          ]
        },
        "count": {
          "type": "integer"
        },
        "low_confidence": {
          "type": "boolean",
          "description": "True when there are fewer than 10 reviews."
        }
      }
    },
    "hotel_pickup": {
      "type": "boolean"
    },
    "bookable_natively": {
      "type": "boolean",
      "description": "True when checkout_url opens TripWays checkout; false when it opens the operator calendar."
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why checkout works the way it does, e.g. pickup_required."
    },
    "gttd_eligible": {
      "type": "boolean",
      "description": "Listed on Google Things to Do."
    },
    "summary": {
      "type": "string"
    },
    "inclusions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "exclusions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "meeting_pickup_label": {
      "type": "string"
    },
    "itinerary": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stop_index": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "poi_name": {
            "type": "string"
          }
        }
      }
    },
    "guidance": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_destination_info(query, country_code)

Resolve a place name (a city, region, country, or well-known area such as Khao Sok) to a TripWays destination with bookable tours. Useful before search_tours when a name could mean more than one place. An ambiguous name returns destination_ambiguous with a did_you_mean list; pass country_code (ISO 3166-1 alpha-2, e.g. FR) to choose one. Area names resolve to their parent destination and include resolved_via=area_alias.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "country_code": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "Optional ISO2 pin, e.g. FR."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "did_you_mean": {
      "type": "array",
      "description": "Candidate destinations when the place name matched more than one location."
    },
    "destination": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        },
        "level": {
          "type": "string",
          "description": "country, region, city, or district."
        },
        "country_code": {
          "type": "string"
        },
        "hierarchy": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "url": {
          "type": "string",
          "description": "The destination's TripWays page."
        },
        "tour_count": {
          "type": "integer"
        },
        "browseable": {
          "type": "boolean"
        },
        "resolved_via": {
          "type": "string",
          "description": "area_alias when a landmark maps to its parent destination."
        },
        "alias": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "ok"
  ]
}
🟢check_availability(bokun_id, date, date_end, party_size, travelers)

Check live start times and remaining seats for a TripWays tour on one date or a range of up to 31 days. Pass party_size (seats needed) or a travelers object; slots that cannot fit the group are left out, and party_size wins if both are given. The status field is ok, no_schedule, no_fit, or calendar_gone. Use get_price_quote with the same date, start time, and travelers for the total; its rate_options name and price the options in rate_ids.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "date_end": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Inclusive end; default = date. Max 31 days."
    },
    "party_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Occupied seats to keep (not ticket count). Slots with availabilityCount < party_size are omitted unless unlimited. Wins over travelers when both are set."
    },
    "travelers": {
      "type": "object",
      "description": "Simple ages; mapped to occupied seats (infants excluded unless the tour has an infant category). Used only when party_size is omitted.",
      "properties": {
        "adults": {
          "type": "integer",
          "minimum": 0,
          "default": 1
        },
        "seniors": {
          "type": "integer",
          "minimum": 0
        },
        "youth": {
          "type": "integer",
          "minimum": 0
        },
        "children": {
          "type": "integer",
          "minimum": 0
        },
        "infants": {
          "type": "integer",
          "minimum": 0
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "bokun_id",
    "date"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "bokun_id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "ok, no_schedule, no_fit, or calendar_gone."
    },
    "note": {
      "type": "string"
    },
    "slots": {
      "type": "array",
      "description": "Open start times that fit the party.",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "start_time": {
            "type": "string",
            "description": "HH:MM."
          },
          "start_time_id": {
            "type": "integer",
            "description": "Pass to get_price_quote / get_booking_link."
          },
          "label": {
            "type": "string"
          },
          "spots_left": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Null when unlimited."
          },
          "unlimited": {
            "type": "boolean"
          },
          "sold_out": {
            "type": "boolean"
          },
          "min_participants": {
            "type": "integer"
          },
          "rate_ids": {
            "type": "array",
            "description": "Options (rate ids) offered at this start time."
          }
        }
      }
    },
    "bookable_natively": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "checkout_url": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_price_quote(bokun_id, date, start_time_id, start_time, rate_id, ...)

Get the live total for a TripWays tour on one date and start time for a traveler mix, priced from the operator's booking calendar. Without rate_id it prices the option the tour page advertises (else the operator's default, then the cheapest option that fits the group). rate_options lists every option at that start time with its total for the same travelers; pass one's rate_id to price that option. The start time can be left out when the date has only one. A quote does not hold seats or charge anything. Optional extras and promo codes are not included. When no option can price the mix, the result is unpriced and the message gives the group size the options take. from_price is what one adult pays (the price Google shows); group_price, when present, is the per-person price for a group as the tour page shows it.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "start_time_id": {
      "type": "integer",
      "minimum": 1
    },
    "start_time": {
      "type": "string",
      "pattern": "^\\d{2}:\\d{2}$",
      "description": "HH:MM if start_time_id unknown."
    },
    "rate_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Option to price: a rate_id from rate_options (or check_availability rate_ids). Omit for the option the tour page advertises."
    },
    "travelers": {
      "type": "object",
      "description": "Simple ages; mapped to Bokun pricing categories.",
      "properties": {
        "adults": {
          "type": "integer",
          "minimum": 0,
          "default": 1
        },
        "seniors": {
          "type": "integer",
          "minimum": 0
        },
        "youth": {
          "type": "integer",
          "minimum": 0
        },
        "children": {
          "type": "integer",
          "minimum": 0
        },
        "infants": {
          "type": "integer",
          "minimum": 0
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "bokun_id",
    "date"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "bokun_id": {
      "type": "string"
    },
    "quote_kind": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "package_total": {
      "type": "number",
      "minimum": 0,
      "description": "Total for the whole group, before optional extras and promo codes."
    },
    "from_price": {
      "type": "number",
      "minimum": 0,
      "description": "The tour's From price: what one adult pays on the option the tour page advertises, the price Google shows. Not the price of this quote; that is package_total."
    },
    "from_price_basis_adults": {
      "type": "integer",
      "description": "Travelers from_price covers: 1, or the minimum group on a tour sold only to groups (from_price is then that group's total)."
    },
    "group_price": {
      "type": "object",
      "description": "Present when the tour page also shows a group price, for example \"2 travelers: $187.09 each\": what each pays when that many adults book together on the advertised option. Quote it as given.",
      "properties": {
        "adults": {
          "type": "integer"
        },
        "per_person": {
          "type": "number",
          "minimum": 0
        },
        "total": {
          "type": "number",
          "minimum": 0
        }
      }
    },
    "per_person": {
      "type": "number",
      "minimum": 0,
      "description": "What each traveler pays in this quote, when all are one age group on a per-person option (package_total split evenly)."
    },
    "rate_id": {
      "type": "integer",
      "description": "The option priced. Pass to get_booking_link."
    },
    "rate_title": {
      "type": "string"
    },
    "pickup_charge": {
      "type": "number",
      "minimum": 0,
      "description": "Compulsory pickup / drop-off charge, already in package_total."
    },
    "required_extras_unpriced": {
      "type": "boolean"
    },
    "rate_options": {
      "type": "array",
      "description": "Every option at this start time. Priced options carry package_total for the same travelers; unpriced ones carry min_travelers or max_travelers when group size is the reason. Pass rate_id to get_price_quote or get_booking_link to choose one.",
      "items": {
        "type": "object",
        "properties": {
          "rate_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "priced": {
            "type": "boolean"
          },
          "package_total": {
            "type": "number",
            "minimum": 0
          },
          "pickup_charge": {
            "type": "number",
            "minimum": 0
          },
          "required_extras_unpriced": {
            "type": "boolean"
          },
          "min_travelers": {
            "type": "integer"
          },
          "max_travelers": {
            "type": "integer"
          }
        }
      }
    },
    "date": {
      "type": "string"
    },
    "start_time": {
      "type": "string"
    },
    "travelers_priced": {
      "type": "object",
      "description": "Traveler counts the total covers.",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "min_participants": {
      "type": "integer"
    },
    "includes_required_extras": {
      "type": "boolean"
    },
    "optional_extras_excluded": {
      "type": "boolean"
    },
    "promo_applied": {
      "type": "boolean"
    },
    "bookable_natively": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "checkout_url": {
      "type": "string",
      "description": "Checkout preset to this date, time, and travelers."
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_booking_link(bokun_id, date, start_time_id, start_time, rate_id, ...)

Get the TripWays checkout link for a tour, optionally preset to a date, start time, rate, and traveler mix. The traveler pays on tripways.com; this tool does not hold seats or take payment. bookable_natively and reason say whether the link opens TripWays checkout or the operator's calendar, and whether a hotel pickup must be chosen at checkout.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "start_time_id": {
      "type": "integer",
      "minimum": 1
    },
    "start_time": {
      "type": "string",
      "pattern": "^\\d{2}:\\d{2}$",
      "description": "HH:MM if start_time_id unknown."
    },
    "rate_id": {
      "type": "integer",
      "minimum": 1,
      "description": "Option to preselect: the rate_id get_price_quote priced or one from its rate_options. Omit for the option a quote would price."
    },
    "travelers": {
      "type": "object",
      "description": "Simple ages; mapped to Bokun pricing categories.",
      "properties": {
        "adults": {
          "type": "integer",
          "minimum": 0,
          "default": 1
        },
        "seniors": {
          "type": "integer",
          "minimum": 0
        },
        "youth": {
          "type": "integer",
          "minimum": 0
        },
        "children": {
          "type": "integer",
          "minimum": 0
        },
        "infants": {
          "type": "integer",
          "minimum": 0
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "bokun_id"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "bokun_id": {
      "type": "string"
    },
    "checkout_url": {
      "type": "string",
      "description": "Open in the browser to pay on tripways.com."
    },
    "bookable_natively": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "start_time": {
      "type": "string"
    },
    "spots_left": {
      "type": [
        "integer",
        "null"
      ]
    },
    "min_participants": {
      "type": "integer"
    }
  },
  "required": [
    "ok"
  ]
}
🟢compare_tours(bokun_ids)

Compare 2 to 4 TripWays tours side by side by bokun_id: from-price, duration, rating, cancellation type, hotel pickup, languages, inclusions, and exclusions. The result also names the tour with the lowest from-price, the shortest duration, the best rating (10+ reviews), and which have free cancellation. Ids that are not bookable tours come back in not_found. For group totals on a date, use check_availability and get_price_quote.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_ids": {
      "type": "array",
      "minItems": 2,
      "maxItems": 4,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "pattern": "^[0-9]+$"
      },
      "description": "Two to four tour ids (the number in tripways.com/t/{id})."
    }
  },
  "required": [
    "bokun_ids"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "tours": {
      "type": "array",
      "description": "One row per tour found, in the order asked.",
      "items": {
        "type": "object",
        "properties": {
          "bokun_id": {
            "type": "string",
            "description": "Tour id; the number in tripways.com/t/{id}."
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "The tour's TripWays page."
          },
          "checkout_url": {
            "type": "string",
            "description": "TripWays checkout for this tour."
          },
          "hero_image": {
            "type": "string",
            "description": "Main photo URL."
          },
          "from_price": {
            "type": "object",
            "description": "What one adult pays: the tour page's From price, the same price Google shows.",
            "properties": {
              "amount": {
                "type": "number",
                "minimum": 0
              },
              "currency": {
                "type": "string"
              }
            }
          },
          "duration_text": {
            "type": "string"
          },
          "duration_hours": {
            "type": "number"
          },
          "destinations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "activities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cancellation": {
            "type": "string",
            "description": "free, flexible, partial, or non_refundable."
          },
          "rating": {
            "type": "object",
            "properties": {
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "count": {
                "type": "integer"
              },
              "low_confidence": {
                "type": "boolean",
                "description": "True when there are fewer than 10 reviews."
              }
            }
          },
          "hotel_pickup": {
            "type": "boolean"
          },
          "bookable_natively": {
            "type": "boolean",
            "description": "True when checkout_url opens TripWays checkout; false when it opens the operator calendar."
          },
          "reason": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why checkout works the way it does, e.g. pickup_required."
          },
          "gttd_eligible": {
            "type": "boolean",
            "description": "Listed on Google Things to Do."
          },
          "summary": {
            "type": "string"
          },
          "inclusions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exclusions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "meeting_pickup_label": {
            "type": "string"
          }
        }
      }
    },
    "highlights": {
      "type": "object",
      "description": "bokun_id of the tour with the lowest from-price, the shortest duration, and the best rating (10+ reviews), and the ids with free cancellation.",
      "properties": {
        "lowest_from_price": {
          "type": "string"
        },
        "shortest": {
          "type": "string"
        },
        "best_rated": {
          "type": "string"
        },
        "free_cancellation": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "not_found": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ids that are not bookable tours."
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_tour_reviews(bokun_id, limit)

Get the rating summary and written reviews for one TripWays tour by bokun_id. Written reviews come from travelers who booked on TripWays and carry first name, country, date, star rating, and text; the overall rating can also include ratings from other platforms. limit sets how many written reviews to return (1 to 10, default 5, newest first).

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 5
    }
  },
  "required": [
    "bokun_id"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "bokun_id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "rating": {
      "type": "object",
      "properties": {
        "value": {
          "type": [
            "number",
            "null"
          ]
        },
        "count": {
          "type": "integer"
        },
        "low_confidence": {
          "type": "boolean",
          "description": "True when there are fewer than 10 reviews."
        }
      }
    },
    "site_reviews": {
      "type": "object",
      "description": "Reviews written on TripWays by travelers who booked.",
      "properties": {
        "count": {
          "type": "integer"
        },
        "average": {
          "type": "number"
        }
      }
    },
    "reviews": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rating": {
            "type": "integer",
            "description": "1 to 5."
          },
          "text": {
            "type": "string"
          },
          "author": {
            "type": "string",
            "description": "First name only."
          },
          "country": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "description": "YYYY-MM-DD."
          }
        }
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_cancellation_policy(bokun_id)

Get the cancellation terms stored for one TripWays tour by bokun_id: the type (free, flexible, partial, or non_refundable), the refund percent and cutoff when the tour has them, and the operator's policy text. These are the tour's terms, not a quote for a specific booking.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    }
  },
  "required": [
    "bokun_id"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "bokun_id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "description": "The tour's TripWays page."
    },
    "cancellation": {
      "type": "string",
      "description": "free, flexible, partial, or non_refundable."
    },
    "summary": {
      "type": "string",
      "description": "One-line terms, e.g. 'Free Cancellation'."
    },
    "cutoff": {
      "type": "string",
      "description": "How long before the start the terms apply."
    },
    "refund_percent": {
      "type": "integer"
    },
    "policy_text": {
      "type": "string",
      "description": "The operator's policy text."
    },
    "note": {
      "type": "string"
    },
    "guidance": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_meeting_point(bokun_id)

Get where one TripWays tour starts, by bokun_id: the operator's meeting point text, whether hotel pickup is available, and the operator's know-before-you-go notes and what to bring. Fields the operator has not filled in are left out, with a note when nothing is stored.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    }
  },
  "required": [
    "bokun_id"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "bokun_id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "hotel_pickup": {
      "type": "boolean"
    },
    "meeting_pickup_label": {
      "type": "string",
      "description": "e.g. 'Pickup available' or 'Meet on location'."
    },
    "meeting_point": {
      "type": "string",
      "description": "The operator's meeting point text."
    },
    "know_before_you_go": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "what_to_bring": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢find_alternatives(bokun_id, date, date_end, party_size, travelers, ...)

Find tours similar to one TripWays tour that have open start times on a date, or a date range of up to 31 days, for a group. Pass the tour the traveler wanted (bokun_id), the date, and party_size or travelers. Returns up to limit similar tours (1 to 5, default 3), each with its card and up to three open start times with seats left, plus the original tour's own status for those dates. It reads several live calendars, so it can take a few seconds.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "bokun_id": {
      "type": "string",
      "pattern": "^[0-9]+$"
    },
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "date_end": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Inclusive end; default = date. Max 31 days."
    },
    "party_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Occupied seats to keep. Wins over travelers when both are set."
    },
    "travelers": {
      "type": "object",
      "description": "Simple ages; mapped to occupied seats. Used only when party_size is omitted.",
      "properties": {
        "adults": {
          "type": "integer",
          "minimum": 0,
          "default": 1
        },
        "seniors": {
          "type": "integer",
          "minimum": 0
        },
        "youth": {
          "type": "integer",
          "minimum": 0
        },
        "children": {
          "type": "integer",
          "minimum": 0
        },
        "infants": {
          "type": "integer",
          "minimum": 0
        }
      },
      "additionalProperties": false
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "default": 3
    }
  },
  "required": [
    "bokun_id",
    "date"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "source": {
      "type": "object",
      "description": "The tour that was asked about and its own status for these dates.",
      "properties": {
        "bokun_id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "description": "ok, no_schedule, no_fit, calendar_gone, or unknown."
        },
        "open_slots": {
          "type": "integer"
        }
      }
    },
    "alternatives": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tour": {
            "type": "object",
            "properties": {
              "bokun_id": {
                "type": "string",
                "description": "Tour id; the number in tripways.com/t/{id}."
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "description": "The tour's TripWays page."
              },
              "checkout_url": {
                "type": "string",
                "description": "TripWays checkout for this tour."
              },
              "hero_image": {
                "type": "string",
                "description": "Main photo URL."
              },
              "from_price": {
                "type": "object",
                "description": "What one adult pays: the tour page's From price, the same price Google shows.",
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0
                  },
                  "currency": {
                    "type": "string"
                  }
                }
              },
              "duration_text": {
                "type": "string"
              },
              "duration_hours": {
                "type": "number"
              },
              "destinations": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "themes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "activities": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "cancellation": {
                "type": "string",
                "description": "free, flexible, partial, or non_refundable."
              },
              "rating": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "count": {
                    "type": "integer"
                  },
                  "low_confidence": {
                    "type": "boolean",
                    "description": "True when there are fewer than 10 reviews."
                  }
                }
              },
              "hotel_pickup": {
                "type": "boolean"
              },
              "bookable_natively": {
                "type": "boolean",
                "description": "True when checkout_url opens TripWays checkout; false when it opens the operator calendar."
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Why checkout works the way it does, e.g. pickup_required."
              },
              "gttd_eligible": {
                "type": "boolean",
                "description": "Listed on Google Things to Do."
              }
            }
          },
          "slots": {
            "type": "array",
            "description": "Up to three open start times. Pass start_time_id to get_price_quote / get_booking_link.",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string"
                },
                "start_time": {
                  "type": "string"
                },
                "start_time_id": {
                  "type": "integer"
                },
                "label": {
                  "type": "string"
                },
                "spots_left": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "unlimited": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "checked": {
      "type": "integer",
      "description": "How many similar tours' calendars were read."
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}
🟢get_itinerary_ideas(destination, days, interests)

Suggest a day-by-day plan of bookable TripWays tours for a destination. Pass destination, days (1 to 7, default 3), and optional interests such as food, history, or boat trips. Each day holds one full-day tour or a morning and afternoon pair, with from-prices and links; multi-day tours are listed apart. These are suggestions only: dates, seats, and group totals are not checked.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "destination": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "City, region, or country, e.g. 'Rome' or 'Phuket'."
    },
    "days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 7,
      "default": 3
    },
    "interests": {
      "type": "string",
      "maxLength": 120,
      "description": "Optional, e.g. 'food and history'."
    }
  },
  "required": [
    "destination"
  ],
  "additionalProperties": false
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "object",
      "description": "Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler.",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "did_you_mean": {
      "type": "array",
      "description": "Candidate destinations when the place name matched more than one location."
    },
    "days_requested": {
      "type": "integer"
    },
    "days": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "day": {
            "type": "integer"
          },
          "approx_hours": {
            "type": "number"
          },
          "from_price_total_per_adult": {
            "type": "object",
            "properties": {
              "amount": {
                "type": "number",
                "minimum": 0
              },
              "currency": {
                "type": "string"
              }
            }
          },
          "tours": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "bokun_id": {
                  "type": "string",
                  "description": "Tour id; the number in tripways.com/t/{id}."
                },
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "description": "The tour's TripWays page."
                },
                "checkout_url": {
                  "type": "string",
                  "description": "TripWays checkout for this tour."
                },
                "hero_image": {
                  "type": "string",
                  "description": "Main photo URL."
                },
                "from_price": {
                  "type": "object",
                  "description": "What one adult pays: the tour page's From price, the same price Google shows.",
                  "properties": {
                    "amount": {
                      "type": "number",
                      "minimum": 0
                    },
                    "currency": {
                      "type": "string"
                    }
                  }
                },
                "duration_text": {
                  "type": "string"
                },
                "duration_hours": {
                  "type": "number"
                },
                "destinations": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "themes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "cancellation": {
                  "type": "string",
                  "description": "free, flexible, partial, or non_refundable."
                },
                "rating": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "count": {
                      "type": "integer"
                    },
                    "low_confidence": {
                      "type": "boolean",
                      "description": "True when there are fewer than 10 reviews."
                    }
                  }
                },
                "hotel_pickup": {
                  "type": "boolean"
                },
                "bookable_natively": {
                  "type": "boolean",
                  "description": "True when checkout_url opens TripWays checkout; false when it opens the operator calendar."
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Why checkout works the way it does, e.g. pickup_required."
                },
                "gttd_eligible": {
                  "type": "boolean",
                  "description": "Listed on Google Things to Do."
                },
                "slot": {
                  "type": "string",
                  "description": "full_day, morning, or afternoon."
                }
              }
            }
          }
        }
      }
    },
    "longer_options": {
      "type": "array",
      "description": "Multi-day tours, kept out of the day plan.",
      "items": {
        "type": "object",
        "properties": {
          "bokun_id": {
            "type": "string",
            "description": "Tour id; the number in tripways.com/t/{id}."
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "The tour's TripWays page."
          },
          "checkout_url": {
            "type": "string",
            "description": "TripWays checkout for this tour."
          },
          "hero_image": {
            "type": "string",
            "description": "Main photo URL."
          },
          "from_price": {
            "type": "object",
            "description": "What one adult pays: the tour page's From price, the same price Google shows.",
            "properties": {
              "amount": {
                "type": "number",
                "minimum": 0
              },
              "currency": {
                "type": "string"
              }
            }
          },
          "duration_text": {
            "type": "string"
          },
          "duration_hours": {
            "type": "number"
          },
          "destinations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "themes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "activities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cancellation": {
            "type": "string",
            "description": "free, flexible, partial, or non_refundable."
          },
          "rating": {
            "type": "object",
            "properties": {
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "count": {
                "type": "integer"
              },
              "low_confidence": {
                "type": "boolean",
                "description": "True when there are fewer than 10 reviews."
              }
            }
          },
          "hotel_pickup": {
            "type": "boolean"
          },
          "bookable_natively": {
            "type": "boolean",
            "description": "True when checkout_url opens TripWays checkout; false when it opens the operator calendar."
          },
          "reason": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why checkout works the way it does, e.g. pickup_required."
          },
          "gttd_eligible": {
            "type": "boolean",
            "description": "Listed on Google Things to Do."
          }
        }
      }
    },
    "destination_resolved": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        },
        "level": {
          "type": "string",
          "description": "country, region, city, or district."
        },
        "country_code": {
          "type": "string"
        },
        "hierarchy": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "url": {
          "type": "string",
          "description": "The destination's TripWays page."
        },
        "tour_count": {
          "type": "integer"
        },
        "browseable": {
          "type": "boolean"
        },
        "resolved_via": {
          "type": "string",
          "description": "area_alias when a landmark maps to its parent destination."
        },
        "alias": {
          "type": "string"
        }
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet12 Tools
verifiziertVersion nicht aufgezeichnet12 Tools
verifiziertVersion nicht aufgezeichnet12 Tools
verifiziertVersion nicht aufgezeichnet6 Tools
verifiziertVersion nicht aufgezeichnet6 Tools
verifiziertVersion nicht aufgezeichnet6 Tools