Remove an activity
remove_activityDeletes an activity from the trip for everyone, with its routes. This can’t be undone: confirm with the user first.
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>",
"activityId": "<activityId>"
},
"name": "remove_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tripId | Yes | The trip’s id, from list_trips | |
| activityId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| removed | Yes |