Get a share link for a trip
trip_share_linkGet a share link for one of the user's trips, so they can send it to the people they are planning or travelling with. Anyone who has the link can open the trip in a browser without a Tineo account; they see the itinerary, and private details such as a stay's street address are left out. A trip has one share link: calling this again returns the same link. Use it when the user asks to share a trip, send it to friends or family, or get a link for a group, including a trip of saved search results to compare. Without confirmed=true nothing is created: it returns what the link will do. Call with confirmed=true only after the user has asked for a share link for this trip. Give the user the link as a clickable link. For giving one existing Tineo friend view or edit access, use trip_sharing_set instead. Never show IDs to the user.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trip_id": "<trip_id>"
},
"name": "trip_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | The trip's ID from trips_list, trip_create or batch_segment_create. | |
| confirmed | No | true creates or returns the link. Omit or false to preview without creating anything. |