List meeting slots by trip
well_list_meeting_slotsList the times one meeting at a place can take, from free time and trip times already read. Call it after well_find_free_time and after the well_get_travel_time calls between the meeting place and each of the person's own events that has a place. Pass slots and timezone as well_find_free_time returned them, and meeting_minutes. In events, pass each of the person's own events that has a place, with start_at and end_at as well_list_calendar_events returned them, is_all_day as it returned it, minutes_to_meeting (the trip from the event's place to the meeting place) and minutes_from_meeting (the trip from the meeting place to the event's place). Each trip is the duration_minutes the travel read returned, or null when it returned no_route or was not called. Leave out events with no place.
For each slot, the trips that count are to the last event with a place that ends before it on its day and from the first one that starts after it on its day, so read those trips. An all-day event sets no trip, and an event that ends at midnight counts on the day before that midnight. Time outside the free slots is busy, so a trip is made outside the slot only when one free slot between that event and the slot holds the whole trip; otherwise the whole trip comes off the slot. The tool reads nothing and calls no service.
It returns meeting_slots in this order: slots next to a checked trip, shortest trip first; then slots with no event with a place next to them; then slots whose trip was not checked. trip_status is "checked", "no_event" or "not_checked". Each slot keeps its trips as margins and starts or ends on a 5-minute mark when such a time fits; else it starts at the first free minute after the trip. When trip_status is "checked", trip_minutes is the trip of the event the slot is placed against, as given, and trip_event_start_at is that event's start_at; when no time on a 5-minute mark fits, both come from the smaller checked trip of the slot's two edges (the trip before it on a tie). Otherwise both are null. dropped_slots counts free slots too short for the meeting and its trips. On success false, error_reason is "unknown_time_zone" or "invalid_range" (a slot or an event that does not end after it starts).
When the token authorizes one workspace, call this directly — no workspace call is needed first. When it authorizes several, this read will not guess which one you mean: pass workspace_id on the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slots | Yes | The free slots from well_find_free_time, passed as it returned them. | |
| events | Yes | The person's own events that have a place. Leave out events with no place. | |
| timezone | Yes | The IANA time zone of the slots, as well_find_free_time returned it. | |
| workspace_id | No | Target workspace. Omit when the token authorizes one workspace. Required when it authorizes several: this read reports one workspace's own figures and will not choose which. | |
| conversation_id | No | The conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation. | |
| meeting_minutes | Yes | How long the meeting lasts, in minutes. | |
| workspace_scope | No | Restrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| timezone | Yes | ||
| error_reason | No | ||
| dropped_slots | Yes | ||
| meeting_slots | Yes | ||
| conversation_id | No | The conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation. | |
| newly_connected | No | Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later. | |
| resolved_workspace | No | The workspace that answered, when the caller named none and the token authorizes several. | |
| conversation_id_note | No | Present only when the server opened a fresh lane, stating that no choice recorded earlier was read. | |
| conversation_id_source | No | Where the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened. |