read_trip_link
Decode a this trip, btw link to extract the itinerary (origin, legs, modes, dates, travelers, flights, lodging) for summarizing, Q&A, edits, or conversion. Reads locally, offline.
Instructions
Use when someone gives you a this trip, btw link and you need to know what is actually in it — to summarise the plan, answer a question about it, add a stop, or convert it to something else. Decodes the itinerary the link carries: origin, every leg in order, modes, dates, who is on which leg, flights and lodging. Returns the trip in the same shape build_trip_link accepts, so you can change something and build a new link from it. Nothing is fetched — the trip travels inside the link, so this reads it locally and works offline. Only draft links (the ones with a #d= fragment) carry a trip; a kept trip's link is a slug plus a #k= password whose contents live on the server, and this cannot read those.
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": {
"link": "<link>"
},
"name": "read_trip_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The trip link, e.g. https://thistripbtw.us/new#d=… — the whole URL is fine, or just the fragment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| trip | Yes | The trip, in exactly the shape build_trip_link takes — so it can be rebuilt or amended without translation. | |
| summary | No |