Move an activity
move_activityMoves an activity to another day (null: unscheduled), and into a lane or back to the shared plan. It goes last on that day unless index says where among the day’s activities (0 is 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>",
"date": "<date>"
},
"name": "move_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| index | No | ||
| laneId | No | A lane from get_trip’s splits, or null for the shared plan; left out, it stays | |
| tripId | Yes | The trip’s id, from list_trips | |
| activityId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity | Yes |