Compare tours
compare_toursPuts 2 to 4 tours side by side. Returns per tour the price per adult and child, rating and reviews, duration, whether it runs on date and its start times, cancellation, pickup, meeting point, group size, languages, ages, accessibility, inclusions, plus best flags (lowest_price, best_score, free_cancellation, runs_on_date). Rows no operator states are left out; Not stated means that operator did not say. Reads only; each column has its own book_link. Use when the traveller asks to compare tours or which suits them, and answer from the rows naming the tour. Use get_tour_details for one tour, search_tours to find product_codes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_tours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | A day to check for every tour, YYYY-MM-DD. | |
| codes | No | Same as product_codes; send one of the two. | |
| product_codes | No | 2 to 4 tour product_codes from search_tours, or menu ids like viator:12345P1. |