List calendar events
well_list_calendar_eventsList the calendar events inside a time range, in start order. Use it when the user asks what is on their calendar, who they meet and when, or before changing an event. A repeating event is expanded into its occurrences inside the range. It returns the events visible to the whole workspace plus the user's own private ones, never another member's private events. Each event has an event_id; a repeating event's occurrences also carry occurrence_start, which well_update_calendar_event and well_delete_calendar_event take to change just that one. To read only the caller's own calendars, pass mine_only: true. Guests are not listed: call well_get_calendar_event for one event's guests. If the result has a note, give it to the user as it is: it invites them to connect their own calendar.
The result's connection describes the user's own calendar. Its state is one of "connected" (say nothing about it), "syncing" (the first sync has not finished: say the result can be incomplete), "stale" (say the result can be out of date and give last_synced_at as the time of the last update), "needs_reconnect" (say Well lost access to the calendar, that the result holds only what was synced before, and give reconnect_link once) or "not_connected" (say the user's own calendar is not connected and give reconnect_link once, unless the note already gave it). When the state is not "connected", never call the result complete or up to date, and never call a time free on its strength alone. A null connection means the state could not be read: say nothing about it.
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 |
|---|---|---|---|
| to | Yes | End of the time range, after from; at most 366 days later | |
| from | Yes | Start of the time range, a timestamp with an offset such as 2026-10-12T00:00:00+02:00 | |
| mine_only | No | true: only the caller's own calendars, in every workspace the read covers; it replaces owner_person_id, whose id names a member of one workspace only | |
| calendar_id | No | Only this calendar, from well_list_calendars | |
| 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. | |
| owner_person_id | No | Only the calendars of this workspace member; send the caller's own person id to see just their calendar | |
| 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 |
|---|---|---|---|
| note | Yes | ||
| error | No | ||
| events | Yes | ||
| success | Yes | ||
| truncated | Yes | ||
| connection | 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. |