.gcal.json file per event.
For Google OAuth setup, see Google Workspace Setup.
For the TypeScript SDK, see Google Calendar (TypeScript).
Config
Fields marked secret are redacted in snapshots.
VFS.md
The VFS.md an agent reads with Google Calendar mounted at/<path>.
- Rendered
- Raw
Virtual Filesystem
VFS Layout
/<path>
ls /<path>/lists the calendars. The primary one is always spelledprimary; every other directory ends in__<calendarId>.ls /<path>/primary/lists buckets with events from all available history through today +90 days unlessend_timeis configured.start_time/end_timerestrict this mount, including direct paths, date globs and event reads. A date glob such asls /<path>/primary/2027-03-*selects its own listing range within that scope, beyond the default future horizon.- A bucket is one local day, named by its date. A well-formed date inside the configured scope is a directory even when it holds no events. Dates outside the scope are absent.
- A file name is
<eventId>__<HHMM-HHMM>_<Title>.gcal.json. The times are clamped to that day, so an event running through it reads0000-2400. A multi-day event appears under every day it covers. catan event for the unmodified Calendar API payload, including attendees, description, location and the original start and end with offsets.calendar.jsoncarries the calendar’saccessRoleand, inbucketTimeZone, the zone the buckets are cut in. That zone is mount-wide, so every calendar’s2026-08-11/covers the same hours.- On a calendar shared as free/busy only, Google returns no titles at
all, so events render as
busy.
- On a
writepath,rman event file to delete that event for every attendee. - Everything else goes through the
gws calendarCLI, which takes the ids the tree renders. - A written event must carry an explicit UTC offset or
timeZone; an ambiguous local time is not interpreted for you.
start_time=unbounded (inclusive), end_time=unbounded (exclusive). Explicit paths and globs cannot escape this scope.Supported Unix Commands for VFS
Unix commands work on each path as on a local filesystem, as far as the path supports them:Limitations of Unix Commands for VFS
Where a path differs from a local filesystem:Run
man <cmd> or <cmd> --help for one command’s usage.Write Support
The only write isrm on an event file, on a mount in MountMode.WRITE. It
deletes the event on its calendar, for every attendee. The account needs the
owner or writer role on that calendar; otherwise rm fails with
permission denied. Creating, editing and moving events go through the
gws calendar CLI, which takes the calendar and event
ids the tree shows.