Rename or delete a trip
update_tripRenames, deletes or restores one of the traveller's own trips; one change per call. name renames it here and in the Adonde app. delete true moves it to the bin: it leaves list_trips and the app and its public link stops working, but nothing is erased, and restore true brings it back with its days and stops within 30 days. Returns what changed and how to undo it. Writes to the trip; another person's trip is refused. Ask before deleting. Use to tidy the traveller's trips; use list_trips to find a trip_id, share_trip to send a trip to others.
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": "update_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new trip name, 1 to 80 characters, e.g. Lisbon with Ana. Renames the trip. | |
| delete | No | true moves the trip to the bin (deleted, restorable for 30 days). Only with the traveller's yes. | |
| restore | No | true brings a deleted trip back from the bin, within 30 days of the delete. | |
| trip_id | Yes | The trip's id (trip_id), as returned by start_trip or list_trips. | |
| intent_ref | No | The reference at the end of a chat line an Adonde card posted, e.g. K7Q2MD from "Code: K7Q2MD." (older cards: "(ref K7Q2MD)"). Pass it on its own: the card's exact arguments load on our side. Add only what the line says is still missing (for a route, the travellers). |