Publish a trip
The publish_trip MCP tool: publish a trip.
publish_trip · writes
REST: POST /v1/trips/{tripId}/publish
What the model reads
Publishes the trip so its public link (publicUrl) and the traveler's app show it. First, blocks sitting loose at the itinerary's root are moved into a section, as the app does; adoptedBlocks says how many moved, and if it is above 0, read the itinerary again.
Permissions: trips:write. Undo: call unpublish_trip.
Input
| Field | Type | Required | Description |
|---|---|---|---|
tripId |
uuid | yes |
Input schema (JSON)
{
"type": "object",
"properties": {
"tripId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"tripId"
],
"additionalProperties": false
}