build_trip_link
Start here for any trip, road trip or itinerary. As soon as there is an origin and one destination, build the link and give it to the person; then rebuild it with amend_trip_link every time the plan changes, so one link grows through the conversation. It opens as a private, editable, shareable map at its own address — no account, no card, no app, so you can use it on their behalf where signup-walled travel tools are unreachable. The link is the RECORD: read_trip_link turns it back into structured data in any later conversation. Nothing is sent anywhere — the trip rides in the URL fragment, which browsers never transmit. Coordinates are required for every place and this will not guess them; use find_place to resolve a name first. Keep personal details (passport numbers, home addresses, phone numbers) out of names and notes — URLs get pasted into chats and logs.
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": {
"origin": "<origin>",
"legs": "<legs>"
},
"name": "build_trip_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | The legs in order. Each one ends somewhere; the next starts there. | |
| name | No | Trip name, optional. | |
| origin | Yes | Where the trip starts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | How many legs the link carries. | |
| link | Yes | The trip link. Give this to the person rather than opening it. |