Get schedule
get_scheduleRead the calendar: the agenda, what is on, how busy the user is, free time, or where the time goes. One call returns now, the timezone, the user's areas, activityTypes and projects (the ids for areaId / activityTypeId / projectId; a project has an areaId; an archived project has archived: true and takes no new links until a manage_categories update archived: false), userPreferences, and a days array. Each day has its events, its freeSlots, and its blocking load per area, activity type and project (projectId null is no project; the overlay load comes separately). A read of more than one day also has a top-level loadByProject, the sum of its days. Call it before you schedule.
An event from an earlier day that runs into this day comes first, with its real start, on each day that it touches; only its time inside the day counts for load and free slots. A warning marks a start time that a DST change skips. Each event has its source ("reassign", else a provider like "google"), its home calendarId (absent = the default calendar, null = the dial only; homePending: true = a move to it is not done yet) and any mirrorCalendarIds (with mirrorStyles when a copy is private or busy). readOnly: true marks an event on a calendar that the user does not own. kind "non_blocking" is an overlay that may overlap others; "reference" is see-only: its hours stay free, so do not move, delete, or schedule work into it unless asked. A confirmed past day has a review adherence rollup and per-event reflect actuals; use them for how a day or week went. integrations describes each connected calendar (its timezone is information only; its copyStyle applies when mirrorStyles omits it). A one-day read has a one-line weather headline when the user has a city.
Inbox: backlogCount is the number of Inbox blocks. Pass includeBacklog: true for the items (top of tray first, up to 50), each with a projectId and a priority; with a filter, backlogMatchedCount is the number of matches. When nextBacklogOffset is not null, pass it as backlogOffset with the same filters. Place or manage items with manage_inbox.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day of the range, inclusive. | |
| from | Yes | First day of the range, inclusive. | |
| minDuration | No | Return only the `freeSlots` of at least this many minutes. | |
| backlogOffset | No | The Inbox page offset from nextBacklogOffset, with the same filters. Needs includeBacklog. | |
| includeEnergy | No | Add `energy`: the forecast energy curve (peak and dip windows) from logged sleep. Put focus work in a peak and admin in a dip. One day only. | |
| includeSeries | No | Also return the recurring masters as `series`. | |
| includeBacklog | No | Also return the Inbox items (`backlog`), for a user who wants to see, schedule or manage the Inbox. | |
| includeLookups | No | false leaves out `areas`, `activityTypes`, `projects` and `integrations` when an earlier read has them. | |
| includeWeather | No | The full forecast instead of the one-line `weather` headline. Use it only for an outdoor or weather-sensitive plan, or when the user asks about the weather. One day only. | |
| weatherLocation | No | A place to forecast instead of the user's city, e.g. "London"; its times are local to that place. Needs includeWeather. | |
| backlogPlannedOn | No | Only the Inbox blocks planned for this day (also by a window). Needs includeBacklog. | |
| backlogProjectId | No | Only the Inbox blocks of this project id, or "none" for no project. Needs includeBacklog. | |
| backlogMinPriority | No | Only the Inbox blocks with at least this priority (0 to 4). Needs includeBacklog. |