Hotel Stay Tools
Manage hotel stay records — accommodation bookings with check-in/check-out dates, room counts, and associated CO₂e emissions. This is Scope 3 Category 6 (business travel) data.list_hotel_stays
List hotel stay records with optional filters.
Parameters:
Example response:
Example prompts:
Write Operations
create_hotel_stay
Create a hotel stay record for Scope 3 accommodation emissions. CO₂e is calculated based on the country and number of nights — the response will initially show co2e as null.
Duration can be specified in two ways:
- Provide
check_out_datedirectly. - Provide
nights— the check-out date is calculated ascheck_in_date + nights.
You can provide either
check_out_date or nights — the backend calculates the other. If both are omitted, the API returns a validation error.CO₂e emissions are calculated in the background after creation. The initial response will show
co2e: null. Call list_hotel_stays after a few seconds to see the calculated value.update_hotel_stay
Update an existing hotel stay record. Only the fields you provide are changed. CO₂e is recalculated after update.
Duration can be updated in two ways:
- Provide
check_out_datedirectly. - Provide
nights(with or without a newcheck_in_date) — the check-out date is recalculated automatically.
Example prompts:
Workflows
Querying hotel stays
- List hotel stays —
list_hotel_staysto query stays by date range or hotel name - View travel emissions —
get_greenhouse_gas_emissionswithcategory=travelsfor aggregated business travel totals - Compare with flights —
list_business_travelsto see flight/train records alongside hotel data
Logging a hotel stay
- Create the stay —
create_hotel_staywith check-in date, country, and nights or check-out date - Verify —
list_hotel_staysafter a few seconds to confirm creation and CO₂e calculation
Related
API: Create Hotel Stay
REST API endpoint for hotel stay creation
API: List Hotel Stays
REST API equivalent with additional filters
Business Travels
Flight and train journey records
Emissions
Aggregated Scope 3 travel emissions