Create Hosting
tripsy_hostings_createCreate a Tripsy hosting. Use hostings for hotels and lodging rather than activities. Timed values are always UTC ISO-8601 timestamps; set timezone to the lodging location's local IANA timezone. MCP clients displaying hostings must convert UTC starts_at/ends_at values into the lodging timezone before formatting local date/time. Include name, address, latitude, longitude, starts_at, ends_at, timezone, and provider_reservation_code for provider-issued reservation, confirmation, or booking codes when known. Safety: Closed-world: operates within the authenticated user's Tripsy account and accessible trips.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional raw hosting fields. Prefer the typed top-level fields when possible; values here are merged first. | |
| name | No | Hotel or lodging name. Use hostings for lodging rather than activities. | |
| price | No | Optional price. | |
| address | No | Full lodging address for map display. | |
| ends_at | No | UTC ISO-8601 check-out timestamp when known, for example 2026-06-05T11:00:00Z. Timed values are always UTC; MCP clients must convert this value to the lodging timezone before displaying the local date/time. | |
| trip_id | Yes | Tripsy trip id. | |
| website | No | Optional website URL. | |
| currency | No | ISO currency code for price, such as EUR or USD. | |
| latitude | No | Lodging latitude for map display. | |
| timezone | No | Local IANA timezone for the lodging location, such as Europe/Rome. MCP clients must use this timezone to convert UTC starts_at/ends_at values before displaying the lodging date/time. | |
| longitude | No | Lodging longitude for map display. | |
| room_type | No | Optional room type. | |
| starts_at | No | UTC ISO-8601 check-in timestamp when known, for example 2026-06-01T14:00:00Z. Timed values are always UTC; MCP clients must convert this value to the lodging timezone before displaying the local date/time. | |
| description | No | Optional lodging description. | |
| room_number | No | Optional room number. | |
| provider_reservation_code | No | Provider-issued reservation, confirmation, or booking code for this lodging, such as a hotel confirmation number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tripsy API response payload or tool-specific structured data. | |
| summary | Yes | Short human-readable summary of the Tripsy operation result. | |
| status_code | No | HTTP status code returned by the Tripsy API when the tool called the API. |