Undo a change
undoReverse one of this person's own changes (an id from history or a write's change), as a new change. Refused when anything it touched has changed since, for someone else's change, and for changes to who's in the trip, its owner or an offer of it, or a replaced link: then edit the records instead.
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": "<trip>",
"change": "<change>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | Yes | The trip id, e.g. "trp_8Kd2…", from list_trips. | |
| change | Yes | The change id, "chg_…". |