Log or recommend an activity
recommend_activityLogs an activity the user did on a trip — a tour, a tasting, a class, a boat trip, often a GetYourGuide or Viator link — with their verdict, and with publish true recommends it on the trip city's Things to do. An activity is not a place: it needs no pin and never has to be added as one. Pass idea_id when it is already on the plan (from get_trip), else text and url to add it. Ask how it was first; publish only when they say so. A published recommendation shows the activity, the link and their tip to everyone once we have reviewed it; their name only to their contacts.
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>",
"verdict": "<verdict>"
},
"name": "recommend_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tip | No | Their one line for the next person, in their words. Public once reviewed. | |
| url | No | The page it was booked or found on, https. | |
| date | No | The day they did it, within the trip's dates. | |
| text | No | What it was, e.g. "Chocolate tasting tour". Required without idea_id. | |
| idea_id | No | The item on the plan, from get_trip. Leave out to add a new one. | |
| publish | No | Recommend it on the city's Things to do. Only with would_do_again or once_was_enough, and only when the user said yes. false withdraws an earlier recommendation. | |
| trip_id | Yes | From list_my_trips. | |
| verdict | Yes | How it was, in the user's words. |