Daily use

Calendars

The 4 tools for calendars. Before an agent first makes one, it reads guide topic calendar.

create_calendar

Add a calendar to a space: events on their days and times, by month, week or list, as in Google Calendar. Its events are its own (a title, a day or a time, an end, a place, notes, a color); people drag them to another day, click a day to add one, and open one to change it. Read guide topic "calendar" first; check it with render_calendar.

Parameters

space_idstringrequired
titlestringrequired
What the calendar holds: "Content calendar", "Launch plan", "Team time off".
viewstring
What it opens on: month (the default), week (days with their hours) or list (the events in order, day by day). One of month, week, list.
eventsobject[]
Show child attributes
titlestringrequired
What it is, read in a small box on a month grid: "Launch: pricing page", "Ana — off", "Webinar: AI in finance".
startstringrequired
Its day ("2026-11-12": a whole-day event) or day and time ("2026-11-12T09:30").
endstring
Its last day ("2026-11-14": on the 12th, 13th and 14th), or the time it ends ("2026-11-12T10:30"). Left out, one day (a timed event gets the calendar's default hour).
locationstring
Where: a room, an address, a call link.
notesstring
What people need to know: the agenda, who comes, links.
colorstring
Its color, for a kind of event people look for: one color per team, channel or type. One of blue, orange, teal, yellow, pink, green, purple, red.

read_calendar

A calendar as it is now: its events in date order, each with its id (what update_calendar and comment take), title, start, end, location, notes and color. Give from and to to read only the events between two days.

Parameters

item_idstringrequired
fromstring
Only events on or after this day (YYYY-MM-DD).
tostring
Only events on or before this day (YYYY-MM-DD).

update_calendar

Change a calendar: its title and the view it opens on; add events; change events (any of title, start, end, location, notes, color — a new start without an end moves the end with it, so the event keeps its length; end null clears it); delete events (only when the person asked for it). Changes apply in that order.

Parameters

item_idstringrequired
titlestring
viewstring
What it opens on: month (the default), week (days with their hours) or list (the events in order, day by day). One of month, week, list.
add_eventsobject[]
Show child attributes
titlestringrequired
What it is, read in a small box on a month grid: "Launch: pricing page", "Ana — off", "Webinar: AI in finance".
startstringrequired
Its day ("2026-11-12": a whole-day event) or day and time ("2026-11-12T09:30").
endstring
Its last day ("2026-11-14": on the 12th, 13th and 14th), or the time it ends ("2026-11-12T10:30"). Left out, one day (a timed event gets the calendar's default hour).
locationstring
Where: a room, an address, a call link.
notesstring
What people need to know: the agenda, who comes, links.
colorstring
Its color, for a kind of event people look for: one color per team, channel or type. One of blue, orange, teal, yellow, pink, green, purple, red.
change_eventsobject[]
Show child attributes
eventstringrequired
Its id from read_calendar.
titlestring
What it is, read in a small box on a month grid: "Launch: pricing page", "Ana — off", "Webinar: AI in finance".
startstring
Its day ("2026-11-12": a whole-day event) or day and time ("2026-11-12T09:30").
endstring | null
locationstring | null
notesstring | null
colorstring | null
delete_eventsstring[]
Events deleted, by id. Deleting can't be undone.

render_calendar

See a calendar as people do: a screenshot of the view it opens on (by default on the month of the next event), plus checks and errors the page hit. Give date to see another month or week.

Parameters

item_idstringrequired
datestring
A day in the month or week to show (YYYY-MM-DD).