add_to_kept_trip
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.
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>",
"stop": "<stop>"
},
"name": "add_to_kept_trip"
}
}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 |