Comment on an activity or a pin
add_commentSays something on an activity (activityId, from get_plan) or a wishlist pin (pinId, from get_wishlist), as the user, for everyone on the trip to see: a question for the group, or an answer to one.
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>",
"body": "<body>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| pinId | No | ||
| tripId | Yes | The trip’s id, from list_trips | |
| mentions | No | People it @mentions; they’re told | |
| activityId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes |