Add an activity
add_activityAdds an activity to the shared plan, or to a lane (laneId, from get_trip’s splits) for just the people in it. Times are local to the place; give a placeProviderId from search_places and its time zone is used. A flight or transport also arrives somewhere (endPlaceProviderId or endPlace), its end time local to there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD, local to the place; leave out to add it unscheduled | |
| type | No | activity | |
| notes | No | ||
| place | No | Where, as text, when it isn’t a place from search_places | |
| title | Yes | ||
| laneId | No | A lane from get_trip’s splits; leave out for everyone | |
| tripId | Yes | The trip’s id, from list_trips | |
| endDate | No | For something over several days, its last day | |
| endTime | No | HH:MM, 24-hour, local to the place | |
| endPlace | No | Where it arrives, as text, when it isn’t a place from search_places | |
| timeZone | No | IANA zone, e.g. Asia/Tokyo; the place’s or the trip’s if left out | |
| startTime | No | HH:MM, 24-hour, local to the place | |
| endTimeZone | No | IANA zone its end date and time are in; the end place’s if left out | |
| placeProviderId | No | A place’s providerId, from search_places | |
| endPlaceProviderId | No | Where a flight or transport arrives: a place’s providerId, from search_places |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity | Yes |