add_to_kept_trip
Add a stop to a kept trip using its #k= edit phrase, on the person's behalf. Writes exactly one stop and returns the trip's updated stop count.
Instructions
Add a stop to a trip the person has KEPT (a link with #k=), on their behalf. Use when they say 'add X to the trip', 'we're stopping at Y on the way', 'put the hotel on it'. Needs their EDIT phrase — a view phrase can read but not write, and the tool says so. Writes exactly one stop and returns the trip's current stop count. Like read_kept_trip this touches the network: the #k= phrase is the password and it goes to thistripbtw.us over TLS, nothing is stored about you, and a wrong phrase counts as a guess. Treat the link as a credential.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The kept trip's link with its #k= EDIT phrase. | |
| stop | Yes | The stop to add. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The new stop's id, when the server returned one. | |
| stops | Yes | How many stops the trip has now. | |
| summary | No |