Pin a place to the wishlist
add_to_wishlistPins a place from search_places to the trip’s wishlist, for the group to vote on, with a note on why. Its category is worked out from the place unless given.
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": {
"tripId": "<tripId>",
"placeProviderId": "<placeProviderId>"
},
"name": "add_to_wishlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tripId | Yes | The trip’s id, from list_trips | |
| category | No | ||
| sourceUrl | No | Where it was found: a post, a review | |
| placeProviderId | Yes | A place’s providerId, from search_places |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes |