How to fetch
- If a HasData tool is connected, call the one whose name matches the task below. Read that tool's schema and fill the fields it asks for. Do not run a shell command when the tool exists.
- If no HasData tool is connected, ask the user to press Connect on the HasData connector for this chat. Do not install software and do not ask them to paste an API key.
- Use the
hasdatacommand only when the connector cannot be connected and the binary is already on PATH. Booking.com commands arebooking-searchandbooking-place. A Google Hotels CLI command is usable only ifhasdata --helplists it.
Which tool
| Ask | Tool name contains | Required |
|---|---|---|
| Hotels on Google for a place and dates | google_travel_hotels | q, checkInDate, checkOutDate |
| Hotels on Booking.com | booking_search | keyword, checkInDate, checkOutDate, rooms, adults, children |
| One Booking.com property and its rooms | booking_place | url, checkInDate, checkOutDate, rooms, adults, children |
Dates are YYYY-MM-DD. If the user did not give dates, guest count, or room count, ask before calling. Do not invent a default stay.
For homes for sale, rent, Zillow, Redfin, or Airbnb, use hasdata-realestate. For flights, use hasdata-flights.
Return property name, price, rating, and link from the tool output.