Google Calendar

Google Calendar CLI commands

Find every Google Calendar CLI command, option and exit code in the generated reference.

Every command, option and exit code, generated from the program itself. For the same list as JSON, run gcal commands --json.

The first word is the profile, a name you choose: gcal personal config show. GCAL_PROFILE does the same for a whole shell session. No profile is assumed: a command that uses an account stops without one and lists the profiles on this computer.

Options for every command

OptionWhat it does
-V, --versionoutput the version number.
-v, --verbosemore detail in what is shown: -v ids, -vv everything we know. Default: 0.
--jsonmachine-readable output: one JSON value on stdout; --json=id,text keeps only those fields.
--jsonlmachine-readable output: one JSON object per line, for streaming and jq.
--quietdiagnostics off; a failure is still said.
--tracethe connection's own log lines on stderr — never content.
--debugon a failure, its whole record — cause and stack — in place of the short line.
--timeout <duration>give up on the whole command after this — 30s, 2m, 500ms.
--offlineanswer from what was recorded and never connect; fails if nothing was.
--no-inputnever prompt or open interactive login; piped input remains available.
--max-input-bytes <bytes>maximum buffered input bytes (default: 16777216).
--max-output-bytes <bytes>maximum machine output bytes (default: 4194304; 0 disables).
--brieffound items as reference, title, time, author and excerpt only.
--fullfound items with their whole text and every provider field.
--compactone line per item for an agent: reference first, text last, paging and next steps as # lines.
--dry-runpreview parsed arguments and permissions before running the action.
--yesgo ahead without the question an ask level puts before a write.
--recordkeep this run even where the config says record false; record_input false leaves the typed words out.
--no-recorddo not keep this run, even if it fails.
--read-onlyrefuse every change, as GCAL_READ_ONLY=1 does.

gcal commands

every command by section; --json prints its contract, one path per call

gcal commands info

one command contract, or all schemas, error reasons and explicit overrides

gcal commands info [path]
ArgumentRequirementWhat it is
pathoptionalone command path; without one, export schemas, error reasons and explicit overrides.

Example: gcal commands info commands

gcal session

sign in to Google and manage this profile's sign-in

gcal session start

sign in to Google in the browser; read-only unless you pass --grant write

Changes something in the service.

gcal session start [options]
OptionWhat it does
--client-file <file>your own Desktop app OAuth client JSON; without it, WireCat's app.
--client-id <id>your own Desktop app OAuth client ID, used instead of WireCat's; its secret comes from GCAL_GOOGLE_CLIENT_SECRET.
--no-browserprint the sign-in URL instead of opening a browser.
--credential-storage <storage>where the sign-in is kept: keyring, which falls back to a private file, or file. Default: keyring.
--grant <scopes>also ask for these, comma-separated: write, sharing, meetings.

Example: gcal personal session start --client-file ~/client_secret.json, gcal personal session start --grant write,sharing, gcal personal session start --grant meetings

gcal session status

show this profile's saved Google sign-in; tokens are never printed

gcal session status [options]
OptionWhat it does
--checkask Google whether the sign-in still works and which account it is.

Example: gcal personal session status, gcal personal session status --check --json

gcal session end

sign this profile out of Google on this computer; stored calendar data stays

Changes something on this computer only.

gcal session end

Example: gcal personal session end

gcal session list

list the profiles on this computer and whether each is signed in; picks none

gcal session list

Example: gcal session list, gcal session list --json

gcal account

remove this profile from this computer

gcal account remove

sign the profile out, then forget it on this computer: its settings, its saved sign-in and its files; --keep-data leaves its messages in the store, where search still finds them, --delete-data deletes them; asks first, or --yes

Changes something in the service.

gcal account remove [options]
OptionWhat it does
--keep-dataleave what the store holds of this account, still searchable.
--delete-datadelete what the store and the tool's own files hold of this account.
--dry-runlist what it would remove and keep, and change nothing.

Returns: account removal — profile, data, dry_run, account, revoked, config_file, removed, kept; every field: gcal commands info account remove

Example: gcal personal account remove --keep-data --dry-run, gcal personal account remove --delete-data --yes

gcal calendars

the account's calendars

gcal calendars list

list the account's calendars from the provider, and which of them sync

Changes something on this computer only.

gcal calendars list [query]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.

Returns: calendar — id, external_id, title, timezone, access_role, primary, synced, seen_at; every field: gcal commands info calendars list

Example: gcal personal calendars list --json, gcal personal calendars list synced:true

gcal calendars sync

sync this calendar from now on

Changes something on this computer only.

gcal calendars sync <calendar>
ArgumentRequirementWhat it is
calendarrequiredthe calendar's id, the provider's id, or its title.

Returns: calendar — id, external_id, title, timezone, access_role, primary, synced, seen_at; every field: gcal commands info calendars sync

Example: gcal personal calendars sync 3

gcal calendars unsync

stop syncing this calendar; what is stored stays

Changes something on this computer only.

gcal calendars unsync <calendar>
ArgumentRequirementWhat it is
calendarrequiredthe calendar's id, the provider's id, or its title.

Returns: calendar — id, external_id, title, timezone, access_role, primary, synced, seen_at; every field: gcal commands info calendars unsync

Example: gcal personal calendars unsync 3

gcal calendars add

follow an iCalendar feed, such as a holiday calendar or a published .ics address, as a read-only calendar of this profile that sync reads again each time; the address is kept as a secret and never printed

Changes something on this computer only.

gcal calendars add <url> [options]
ArgumentRequirementWhat it is
urlrequiredthe feed's https://, http:// or webcal:// address.
OptionWhat it does
--title <title>the calendar's title; the feed's own name if not given.

Returns: calendar feed — id, external_id, title, timezone, access_role, primary, synced, seen_at, and 2 more; every field: gcal commands info calendars add

Example: gcal personal calendars add webcal://example.com/holidays.ics --title Holidays

gcal calendars remove

stop following a feed calendars add added: its address is forgotten and its stored events are deleted, not cancelled; only a feed, as calendars unsync stops a provider's calendar

Changes something on this computer only.

gcal calendars remove <calendar>
ArgumentRequirementWhat it is
calendarrequiredthe feed calendar's id, its ics: id, or its title.

Returns: calendar feed removal — id, external_id, title, timezone, access_role, primary, synced, seen_at, and 2 more; every field: gcal commands info calendars remove

Example: gcal personal calendars remove 7

gcal calendars busy

when calendars and people are taken, asked of the provider and not stored; with --duration-minutes, the free stretches they share

gcal calendars busy [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--duration-minutes <minutes>find free stretches at least this long, 5–1440.
--hours <from-to>working hours in your time zone, Monday to Friday, with --duration-minutes. Default: 09:00-17:00.

Returns: calendar busy — starts_at, ends_at, timezone, calendars, slots, unknown; every field: gcal commands info calendars busy

Example: gcal personal calendars busy person:[email protected] --json, gcal personal calendars busy starts_at>=2026-11-02 ends_at<=2026-11-06 person:[email protected] --duration-minutes 30 --hours 10:00-16:00

gcal sync

bring the synced calendars up to date: what changed since the last sync, or everything with --rescan; a run stops before its deadline or --max-pages and the next one goes on from there

Changes something on this computer only.

gcal sync [options]
OptionWhat it does
--rescanlist every synced calendar's window again, dropping a round in progress.
--max-pages <pages>at most this many requests to the provider in this run; as many as fit the deadline if not given.
--embedalso index new events for meaning search, with a model already downloaded.

Returns: calendar sync — provider, account_id, window, calendars, synced, not_synced, complete, state, and 5 more; every field: gcal commands info sync

Example: gcal personal sync, gcal personal sync --rescan --embed, gcal personal sync --timeout 2m

gcal store

the local store of calendar events

gcal store status

how far each synced calendar's sync is: entries done, partial or complete, and when it last moved

gcal store status

Returns: calendar sync progress — calendar_id, external_id, title, round, job, profile, done, total, and 5 more; every field: gcal commands info store status

Example: gcal personal store status --json

gcal events

the account's stored events

gcal events list

list stored events, earliest first; --source reads several accounts as one list

gcal events list [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--limit <n>events per page, 1–1000; the profile's defaults.limit when absent.
--page <n>which page, starting at 1.
--source <accounts>calendar accounts held in the store to read as one list: all, a provider, or a list such as gcal:work,gcal:personal or group:; the profile's account when absent.

Returns: event — id, event_series_id, title, description, location, starts_at, ends_at, timezone, and 13 more; every field: gcal commands info events list

Example: gcal personal events list 'starts_at:[2026-11-02 TO 2026-11-07}' --json, gcal personal events list ends_at>=today person:[email protected], gcal personal events list overlapping:true --source all

gcal events export

write stored events as iCalendar (.ics), at most 1000: one with id:, or those the query finds; each occurrence of a repeating event as an event of its own

Changes something on this computer only.

gcal events export [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--output <file>the file to write; printed in the answer when absent.

Returns: calendar export — format, events, content, output, untrusted; every field: gcal commands info events export

Example: gcal personal events export id:42 --output planning.ics, gcal personal events export 'starts_at:[2026-11-02 TO 2026-11-09}' NOT event_type:birthday --output week.ics

gcal events show

one event: its calendar copies, attendees with their person, Drive files and history

gcal events show <event>
ArgumentRequirementWhat it is
eventrequiredthe event's id, or event:.

Returns: calendar event — id, event_series_id, title, description, location, starts_at, ends_at, timezone, and 18 more; every field: gcal commands info events show

Example: gcal personal events show event:42 --json

gcal events prepare

before a meeting: the event, its attendees with their answer, and each one's latest messages, mail and meetings the store holds; the next meeting when no event is named

gcal events prepare [event] [options]
ArgumentRequirementWhat it is
eventoptionalthe event's id, or event:; the next meeting with other attendees when absent.
OptionWhat it does
--limit <n>messages per person in each list, 1–50; 5 if not given.
--since-time <time>no message or meeting older than this ISO 8601 time, or 30d ago.

Returns: calendar event preparation — event, people, limits, untrusted; every field: gcal commands info events prepare

Example: gcal personal events prepare --json, gcal personal events prepare event:42 --limit 3, gcal personal events prepare event:42 --since-time 2026-10-01

gcal events remind

tell once about each event that starts within --due-within: print it, or run your program for it with the event as JSON on its standard input; for cron or a timer every few minutes, syncing first unless --offline

Changes something on this computer only.

gcal events remind [program] [options]
ArgumentRequirementWhat it is
programoptionalafter --: the program to run for each event, and its own arguments; no shell. Needs events.remind.hook allowed.
OptionWhat it does
--due-within <duration>the events that start within this long from now, 1m to 1d. Default: 10m.
--dry-runsay what it would remind; run nothing, sync nothing, remember nothing.

Returns: calendar reminder — id, event_series_id, title, description, location, starts_at, ends_at, timezone, and 9 more; every field: gcal commands info events remind

Example: gcal personal events remind --due-within 10m, gcal personal events remind --due-within 15m -- /home/me/bin/meeting-reminder

gcal events create

add an event to a calendar; with --repeat, one that repeats; with --text, one the provider reads from a line such as 'Lunch with Ana tomorrow 1pm'

Changes something in the service.

gcal events create <calendar> [options]
ArgumentRequirementWhat it is
calendarrequiredthe calendar's id, the provider's id, or its title.
OptionWhat it does
--title <title>the event's title.
--start-time <time>when it starts: a time in your zone, or one with its own.
--end-time <time>when it ends.
--start-date <date>the first day of an all-day event, YYYY-MM-DD.
--end-date <date>the last day of an all-day event.
--location <text>where; empty clears it.
--description <text>the details; empty clears it.
--attendee <email>an attendee; repeat for each. Default: ``.
--repeat <rule>how it repeats: an RFC 5545 rule: FREQ=DAILY|WEEKLY|MONTHLY, and INTERVAL, BYDAY (MO,WE; in MONTHLY also 1MO or -1FR), COUNT or UNTIL (a date, YYYYMMDD, for an all-day event; a UTC time, YYYYMMDDTHHMMSSZ, for a timed one).
--conference <service>make a new meeting link with it; never replaces a link. One of: google-meet.
--notifythe provider mails the other attendees; needs events.notify allowed; this or --no-notify is required when there are other attendees.
--no-notifythe provider mails nobody.
--operation-id <id>the operation_id a create that ended in outcome_unknown named: a retry finds that event.
--text <text>one line the provider reads the title, date, time and place from, in place of the other fields; nobody is mailed without --notify.

Returns: calendar event write — operation_id, event, entry, scope, removed, ended, converted, from_calendar, and 3 more; every field: gcal commands info events create

Example: gcal personal events create Work --text 'Example lunch with Ana tomorrow 1pm at Example Cafe', gcal personal events create 3 --title 'Example review' --start-date 2026-11-03 --end-date 2026-11-03 --attendee [email protected] --no-notify, gcal personal events create 3 --title 'Example standup' --start-time 2026-11-02T09:30 --end-time 2026-11-02T09:45 --repeat 'FREQ=WEEKLY;BYDAY=MO,WE,FR;COUNT=12'

gcal events update

change an event; with --series every occurrence of the repeating event, with --following this occurrence and every later one; new times or dates switch it between timed and all-day

Changes something in the service.

gcal events update <event> [options]
ArgumentRequirementWhat it is
eventrequiredthe event's id, or event:.
OptionWhat it does
--title <title>the event's title.
--start-time <time>when it starts: a time in your zone, or one with its own.
--end-time <time>when it ends.
--start-date <date>the first day of an all-day event, YYYY-MM-DD.
--end-date <date>the last day of an all-day event.
--location <text>where; empty clears it.
--description <text>the details; empty clears it.
--attendee <email>an attendee; repeat for each, replacing the list. Default: ``.
--repeat <rule>how it repeats, with --series: an RFC 5545 rule: FREQ=DAILY|WEEKLY|MONTHLY, and INTERVAL, BYDAY (MO,WE; in MONTHLY also 1MO or -1FR), COUNT or UNTIL (a date, YYYYMMDD, for an all-day event; a UTC time, YYYYMMDDTHHMMSSZ, for a timed one).
--conference <service>make a new meeting link with it; never replaces a link. One of: google-meet.
--calendar <id>the calendar, by id or title, when the event is on more than one of the account's.
--serieschange the whole repeating event, not only this occurrence.
--followingchange this occurrence and every later one: the repeating event ends before it and a new one starts with the change.
--operation-id <id>with --following, the operation_id an outcome_unknown named: a retry finds that new series.
--notifythe provider mails the other attendees; needs events.notify allowed; this or --no-notify is required when there are other attendees.
--no-notifythe provider mails nobody.

Returns: calendar event write — operation_id, event, entry, scope, removed, ended, converted, from_calendar, and 3 more; every field: gcal commands info events update

Example: gcal personal events update event:42 --start-time 2026-11-02T14:00 --end-time 2026-11-02T15:00 --notify, gcal personal events update event:42 --series --repeat 'FREQ=WEEKLY;BYDAY=TU;UNTIL=20261231T230000Z' --no-notify, gcal personal events update event:42 --following --start-time 2026-11-09T10:00 --end-time 2026-11-09T10:30 --no-notify

gcal events delete

delete an event; a whole repeating event, or every later occurrence, needs events.delete.series allowed first

Changes something in the service.

gcal events delete <event> [options]
ArgumentRequirementWhat it is
eventrequiredthe event's id, or event:.
OptionWhat it does
--calendar <id>the calendar, by id or title, when the event is on more than one of the account's.
--seriesdelete the whole repeating event, not only this occurrence.
--followingdelete this occurrence and every later one: the repeating event ends before it.
--notifythe provider mails the other attendees; needs events.notify allowed; this or --no-notify is required when there are other attendees.
--no-notifythe provider mails nobody.

Returns: calendar event write — operation_id, event, entry, scope, removed, ended, converted, from_calendar, and 3 more; every field: gcal commands info events delete

Example: gcal personal events delete event:42 --no-notify, gcal personal events delete event:42 --following --no-notify

gcal events import

add the events of an iCalendar (.ics) file to a calendar, at most 500, each under its own UID; nobody is mailed; a changed occurrence of a repeating event (RECURRENCE-ID) is skipped

Changes something in the service.

gcal events import <calendar> <file>
ArgumentRequirementWhat it is
calendarrequiredthe calendar's id, the provider's id, or its title.
filerequiredthe .ics file to read.

Returns: calendar import — operation_id, calendar, imported, skipped, untrusted; every field: gcal commands info events import

Example: gcal personal events import Work planning.ics

gcal events move

move an event, with its id, to another calendar of the account; a repeating one moves whole

Changes something in the service.

gcal events move <event> [options]
ArgumentRequirementWhat it is
eventrequiredthe event's id, or event:.
OptionWhat it does
--calendar <id>the calendar, by id or title, when the event is on more than one of the account's.
--to-calendar <id>the calendar to move it to: its id, the provider's id, or its title.
--seriesmove the whole repeating event an occurrence belongs to.
--notifythe provider mails the other attendees; needs events.notify allowed; this or --no-notify is required when there are other attendees.
--no-notifythe provider mails nobody.

Returns: calendar event write — operation_id, event, entry, scope, removed, ended, converted, from_calendar, and 3 more; every field: gcal commands info events move

Example: gcal personal events move event:42 --to-calendar 4 --no-notify

gcal events respond

answer an invitation; the organiser is told only with --notify

Changes something in the service.

gcal events respond <event> <response> [options]
ArgumentRequirementWhat it is
eventrequiredthe event's id, or event:.
responserequiredthe answer. One of: accepted, tentative, declined.
OptionWhat it does
--calendar <id>the calendar, by id or title, when the event is on more than one of the account's.
--notifythe provider mails the other attendees; needs events.notify allowed; this or --no-notify is required when there are other attendees.
--no-notifythe provider mails nobody.

Returns: calendar event write — operation_id, event, entry, scope, removed, ended, converted, from_calendar, and 3 more; every field: gcal commands info events respond

Example: gcal personal events respond event:42 accepted --notify

find stored things by text: events, or all of messages, notes and events

gcal search all

search calendar events, messages from the other WireCat tools, notes and meeting transcripts, chat and summaries in the local store — best match first; not mail (the separate memo CLI searches it: memo search mail). Use it when you do not know where something was written; search events reads the calendar with all its fields

gcal search all <query> [options]
ArgumentRequirementWhat it is
queryrequiredstrict Lucene query: words, "phrases", AND/OR/NOT, field groups and date ranges.
OptionWhat it does
--only <resources>only these resources, separated by commas: messages, notes, events, meetings.
--source <accounts>only these accounts, separated by commas: provider:account as a hit shows it, a provider, a kind or group:; each resource reads the ones of its kind.
--limit <n>how many.
--page <n>which page, starting at 1.
--exactbare words and quotes match their exact form only, as exact:word does.
--timezone <zone>the IANA timezone for calendar date boundaries.

Returns: hit — kind, ref, provider, account, title, timestamp, excerpt, url, and 18 more; every field: gcal commands info search all

Example: gcal personal search all roadmap, gcal personal search all "quarterly review" --source telegram,gcal --json

gcal search events

find stored events by words, and by meaning when its model is downloaded; with --backend server, ask the provider instead, or with --backend both, ask both

gcal search events <query> [options]
ArgumentRequirementWhat it is
queryrequiredwhat to find in titles, descriptions, places and attendees.
OptionWhat it does
--limit <n>events per page; the profile's defaults.limit when absent.
--cursor <cursor>go on from the previous page's page.next_cursor, with the same query.
--exactevery word as written, no word stems.
--newestlatest start first instead of best first.
--backend <archive|server|both>where to search: archive, the local store, or server, the provider's own search over the synced calendars, earliest first; both gives the store's hits, each the provider also found marked server, then the provider's other hits, one page with no cursor. One of: archive, server, both. Default: archive.

Returns: calendar search hit — provider, account, title, starts_at, ends_at, all_day, status, location, and 9 more; every field: gcal commands info search events

Example: gcal personal search events roadmap planning --json, gcal personal search events --backend server quarterly review, gcal personal search events --backend both quarterly review

gcal people

the people in the account's events

gcal people list

one event's attendees, or everyone attending this week's events

gcal people list [query]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.

Returns: calendar attendee — email, name, response, organizer, optional, resource, self, person, and 2 more; every field: gcal commands info people list

Example: gcal personal people list --json, gcal personal people list event:42

join an attendee to a person the owner knows elsewhere

Changes something on this computer only.

gcal people link <person> <other> [options]
ArgumentRequirementWhat it is
personrequiredan attendee's address as email:, or a person:.
otherrequiredthe same person in another tool, as :, or me.
OptionWhat it does
--reason <text>why they are one person; an agent's link is a proposal and needs it.

Returns: calendar linked person — person, name, identities, proposal; every field: gcal commands info people link

Example: gcal personal people link email:[email protected] telegram:12345

calendar copies the rules could not join alone

copies that fit two or more events equally well, waiting for the owner's choice

gcal links review

Returns: calendar link review — id, entry_id, reason, candidates, untrusted; every field: gcal commands info links review

Example: gcal personal links review --json

join a copy to the event you choose, or keep it apart

Changes something on this computer only.

gcal links resolve <review> <choice>
ArgumentRequirementWhat it is
reviewrequiredthe review's id from links review.
choicerequiredone of its candidates, as event:, or apart.

Returns: calendar link resolution — id, status, chosen; every field: gcal commands info links resolve

Example: gcal personal links resolve 7 event:42

gcal meetings

stored meetings and their records

gcal meetings list

meetings, newest first: the service's and the stored ones, kept in the store

gcal meetings list [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--backend <archive|server|both>where to read: the store (archive), the service (server), or both, kept in the store (default: both).
--limit <n>meetings per page; the profile's defaults.limit when absent.
--page <n>which page, starting at 1.

Returns: meeting — ref, id, provider_id, provider, account, title, url, started_at, and 12 more; every field: gcal commands info meetings list

Next usually: gcal meetings show <meeting>, gcal meetings transcript <meeting>, gcal meetings export <meeting>

Example: gcal personal meetings list started_at>=2026-11-01 --limit 20 --json

gcal meetings show

show a meeting, read again from the service with its people, transcript and documents

gcal meetings show <meeting> [options]
ArgumentRequirementWhat it is
meetingrequiredthe stored meeting's number, its meeting: ref, or the service's id (provider_id).
OptionWhat it does
--backend <archive|server|both>where to read: the store (archive), the service (server), or both, kept in the store (default: both).

Returns: meeting details — ref, id, provider_id, provider, account, title, url, started_at, and 21 more; every field: gcal commands info meetings show

Next usually: gcal meetings transcript <meeting>, gcal meetings export <meeting>, gcal meetings update <meeting>

Example: gcal personal meetings show 1 --json

gcal meetings transcript

show current meeting transcripts

gcal meetings transcript <meeting> [options]
ArgumentRequirementWhat it is
meetingrequiredstored meeting id.
OptionWhat it does
--historyinclude superseded transcript versions.

Returns: meeting transcript — ref, meeting, source, language, superseded_at, created_at, lines, untrusted; every field: gcal commands info meetings transcript

Example: gcal personal meetings transcript 1 --json

gcal meetings export

export a meeting as Markdown or one transcript as WebVTT

Changes something on this computer only.

gcal meetings export <meeting> [options]
ArgumentRequirementWhat it is
meetingrequiredstored meeting id.
OptionWhat it does
--format <format>export format. One of: markdown, vtt. Default: markdown.
--transcript-id <id>export a specific transcript version.
--output <file>write content to a new file through the host's writer.

Returns: meeting export — meeting_id, format, filename, content, untrusted, output; every field: gcal commands info meetings export

Example: gcal personal meetings export 1 --format markdown --json

gcal meetings people

find meeting participants by name or email

gcal meetings people <query> [options]
ArgumentRequirementWhat it is
queryrequireda name or an email address.
OptionWhat it does
--limit <n>most matching observations per page, 1–1000 (default 50).
--scan-limit <n>most participant observations to inspect, 1–10000 (default 1000).
--max-read-bytes <bytes>most stored name and email bytes to read (default 1048576).
--cursor <cursor>continue with the same name query and selected account.

Returns: meeting participants — schema_version, kind, account_id, query, items, ambiguity, coverage, page; every field: gcal commands info meetings people

Example: gcal personal meetings people "Test Person" --json

gcal meetings sync

bring the stored meetings up to date from the connected account, oldest first; a run that stops before its deadline keeps what it saved and the next one goes on from there

Changes something on this computer only.

gcal meetings sync [options]
OptionWhat it does
--since-time <time>fetch meetings starting at or after this ISO 8601 date or time, or 30m, 2h, 7d ago.
--lookback-days <days>revisit recent occurrences for late transcripts (0–31).
--rescanread the last 30 days again, not only what came after the last sync.

Returns: meeting ingestion — meetings, participants, transcript_rows, summaries, warnings, timezone; every field: gcal commands info meetings sync

Example: gcal personal meetings sync --since-time 2026-11-01T00:00:00Z --json

gcal meetings repair

preview filling in what older builds left out of stored transcripts (their language); --yes stores it

Changes something on this computer only.

gcal meetings repair [options]
OptionWhat it does
--yesstore the detected languages; otherwise only preview.

Returns: meeting repair — account_id, applied, transcripts, languages; every field: gcal commands info meetings repair

Example: gcal personal meetings repair --json

gcal meetings create

create a meeting on the service

Changes something in the service.

gcal meetings create [options]
OptionWhat it does
--title <title>the meeting's title.
--kind <kind>an instant or a scheduled meeting. One of: instant, scheduled.
--start-time <time>when it starts: an ISO time with its offset, 2026-11-20T10:00:00+01:00; this service takes none, its meetings start now.
--duration-minutes <minutes>how long it lasts, 1–1440.
--timezone <zone>its IANA time zone, Europe/Madrid.
--agenda <text>its agenda.
--setting <name=value>a setting of this service; repeat it for more: access_type=open|trusted|restricted, moderation=true|false, auto_recording=true|false, auto_transcription=true|false, auto_smart_notes=true|false.

Returns: meeting change — action, provider, account, applied, id, occurrence_id, change, meeting, and 1 more; every field: gcal commands info meetings create

Example: gcal personal meetings create --setting access_type=trusted --setting auto_transcription=true --dry-run --json

gcal meetings update

change a meeting on the service

Changes something in the service.

gcal meetings update <meeting> [options]
ArgumentRequirementWhat it is
meetingrequiredthe service's id of the meeting.
OptionWhat it does
--title <title>the meeting's title.
--kind <kind>an instant or a scheduled meeting. One of: instant, scheduled.
--start-time <time>when it starts: an ISO time with its offset, 2026-11-20T10:00:00+01:00.
--duration-minutes <minutes>how long it lasts, 1–1440.
--timezone <zone>its IANA time zone, Europe/Madrid.
--agenda <text>its agenda.
--setting <name=value>a setting of this service; repeat it for more: access_type=open|trusted|restricted, moderation=true|false, auto_recording=true|false, auto_transcription=true|false, auto_smart_notes=true|false.

Returns: meeting change — action, provider, account, applied, id, occurrence_id, change, meeting, and 1 more; every field: gcal commands info meetings update

Example: gcal personal meetings update spaces/jQCFfuBOdN5z --setting moderation=true --dry-run --json

gcal api

discover and call the official Google Calendar API methods

gcal api list

list the Google Calendar API methods gcal can call

gcal api list [query]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.

Returns: api method — name, mutates, destructive, scope; every field: gcal commands info api list

Example: gcal personal api list, gcal personal api list service:calendar

gcal api show

show one method's request schema and contract, without calling Google

gcal api show <method>
ArgumentRequirementWhat it is
methodrequiredGoogle method name, as api list prints it.

Example: gcal personal api show calendar.events.list --json

gcal api call

call one Google Calendar API method by name with JSON parameters

Changes something in the service.

gcal api call <method> [options]
ArgumentRequirementWhat it is
methodrequiredGoogle method name, as api list prints it.
OptionWhat it does
--params <json>query and path parameters as a JSON object; none if left out.
--body <json>request body as a JSON object.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api call calendar.events.list --params '{"calendarId":"primary","maxResults":10}', gcal personal api call calendar.events.list --params '{"calendarId":"primary","fields":"items(id,attachments(fileId,mimeType),organizer/self)"}' --json, gcal personal api call calendar.freebusy.query --body '{"timeMin":"2026-11-02T00:00:00Z","timeMax":"2026-11-03T00:00:00Z","items":[{"id":"primary"}]}'

gcal api calendar-acl-delete

Deletes an access control rule. — destructive (DELETE calendars/{calendarId}/acl/{ruleId})

Changes something in the service.

gcal api calendar-acl-delete [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--rule-id <value>ACL rule identifier.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-acl-delete --rule-id <value> --calendar-id <value>

gcal api calendar-acl-get

Returns an access control rule. — read (GET calendars/{calendarId}/acl/{ruleId})

gcal api calendar-acl-get [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--rule-id <value>ACL rule identifier.

Example: gcal personal api calendar-acl-get --calendar-id <value> --rule-id <value>

gcal api calendar-acl-insert

Creates an access control rule. — write (POST calendars/{calendarId}/acl)

Changes something in the service.

gcal api calendar-acl-insert [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--send-notifications <value>Whether to send notifications about the calendar sharing change. Optional. The default is True.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-acl-insert --calendar-id <value>

gcal api calendar-acl-list

Returns the rules in the access control list for the calendar. — read (GET calendars/{calendarId}/acl)

gcal api calendar-acl-list [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--max-results <value>Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
--show-deleted <value>Whether to include deleted ACLs in the result. Deleted ACLs are represented by role equal to "none". Deleted ACLs will always be included if syncToken is provided. Optional. The default is False.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--sync-token <value>Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
--page-token <value>Token specifying which result page to return. Optional.

Example: gcal personal api calendar-acl-list --calendar-id <value>

gcal api calendar-acl-patch

Updates an access control rule. This method supports patch semantics. — write (PATCH calendars/{calendarId}/acl/{ruleId})

Changes something in the service.

gcal api calendar-acl-patch [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--rule-id <value>ACL rule identifier.
--send-notifications <value>Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-acl-patch --calendar-id <value> --rule-id <value>

gcal api calendar-acl-update

Updates an access control rule. — write (PUT calendars/{calendarId}/acl/{ruleId})

Changes something in the service.

gcal api calendar-acl-update [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--rule-id <value>ACL rule identifier.
--send-notifications <value>Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-acl-update --rule-id <value> --calendar-id <value>

gcal api calendar-calendar-list-delete

Removes a calendar from the user's calendar list. — destructive (DELETE users/me/calendarList/{calendarId})

Changes something in the service.

gcal api calendar-calendar-list-delete [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendar-list-delete --calendar-id <value>

gcal api calendar-calendar-list-get

Returns a calendar from the user's calendar list. — read (GET users/me/calendarList/{calendarId})

gcal api calendar-calendar-list-get [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

Example: gcal personal api calendar-calendar-list-get --calendar-id <value>

gcal api calendar-calendar-list-insert

Inserts an existing calendar into the user's calendar list. — write (POST users/me/calendarList)

Changes something in the service.

gcal api calendar-calendar-list-insert [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--color-rgb-format <value>Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendar-list-insert

gcal api calendar-calendar-list-list

Returns the calendars on the user's calendar list. — read (GET users/me/calendarList)

gcal api calendar-calendar-list-list [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--show-hidden <value>Whether to show hidden entries. Optional. The default is False.
--show-own-organization-only <value>Whether to show only entries for calendars from the organization. This parameter is only applicable to Google Workspace users. Optional. The default is False.
--min-access-role <value>The minimum access role for the user in the returned entries. Optional. The default is no restriction.
--sync-token <value>Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False.
--max-results <value>Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.
--page-token <value>Token specifying which result page to return. Optional.
--show-deleted <value>Whether to include deleted calendar list entries in the result. Optional. The default is False.

Example: gcal personal api calendar-calendar-list-list

gcal api calendar-calendar-list-patch

Updates an existing calendar on the user's calendar list. This method supports patch semantics. — write (PATCH users/me/calendarList/{calendarId})

Changes something in the service.

gcal api calendar-calendar-list-patch [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--color-rgb-format <value>Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendar-list-patch --calendar-id <value>

gcal api calendar-calendar-list-update

Updates an existing calendar on the user's calendar list. — write (PUT users/me/calendarList/{calendarId})

Changes something in the service.

gcal api calendar-calendar-list-update [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--color-rgb-format <value>Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be set to the best matching option automatically. Optional. The default is False.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendar-list-update --calendar-id <value>

gcal api calendar-calendars-clear

Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account. — destructive (POST calendars/{calendarId}/clear)

Changes something in the service.

gcal api calendar-calendars-clear [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendars-clear --calendar-id <value>

gcal api calendar-calendars-delete

Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars. — destructive (DELETE calendars/{calendarId})

Changes something in the service.

gcal api calendar-calendars-delete [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendars-delete --calendar-id <value>

gcal api calendar-calendars-get

Returns metadata for a calendar. — read (GET calendars/{calendarId})

gcal api calendar-calendars-get [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

Example: gcal personal api calendar-calendars-get --calendar-id <value>

gcal api calendar-calendars-insert

Creates a secondary calendar. — write (POST calendars)

Changes something in the service.

gcal api calendar-calendars-insert [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendars-insert

gcal api calendar-calendars-patch

Updates metadata for a calendar. This method supports patch semantics. — write (PATCH calendars/{calendarId})

Changes something in the service.

gcal api calendar-calendars-patch [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendars-patch --calendar-id <value>

gcal api calendar-calendars-transfer-ownership

Transfers a secondary calendar between users within a Google Workspace organization. Requires user authentication with Manage Calendars administrator privilege, and one of the following authorization scopes: — destructive (POST calendars/{calendarId}/transferOwnership)

Changes something in the service.

gcal api calendar-calendars-transfer-ownership [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--use-admin-access <value>When true, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the Manage Calendars privilege. This method currently only supports admin access, thus only true is accepted for this field.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs, call the calendarList.list method.
--new-data-owner <value>The email address of a user who will become the data owner of the calendar.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendars-transfer-ownership --use-admin-access <value> --calendar-id <value> --new-data-owner <value>

gcal api calendar-calendars-update

Updates metadata for a calendar. — write (PUT calendars/{calendarId})

Changes something in the service.

gcal api calendar-calendars-update [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-calendars-update --calendar-id <value>

gcal api calendar-colors-get

Returns the color definitions for calendars and events. — read (GET colors)

gcal api calendar-colors-get [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

Example: gcal personal api calendar-colors-get

gcal api calendar-events-delete

Deletes an event. — destructive (DELETE calendars/{calendarId}/events/{eventId})

Changes something in the service.

gcal api calendar-events-delete [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--send-updates <value>Guests who should receive notifications about the deletion of the event.
--event-id <value>Event identifier.
--send-notifications <value>Deprecated. Please use sendUpdates instead.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-events-delete --event-id <value> --calendar-id <value>

gcal api calendar-events-get

Returns an event based on its Google Calendar ID. To retrieve an event using its iCalendar ID, call the events.list method using the iCalUID parameter. — read (GET calendars/{calendarId}/events/{eventId})

gcal api calendar-events-get [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--time-zone <value>Time zone used in the response. Optional. The default is the time zone of the calendar.
--always-include-email <value>Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
--event-id <value>Event identifier.
--max-attendees <value>The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

Example: gcal personal api calendar-events-get --event-id <value> --calendar-id <value>

gcal api calendar-events-import

Imports an event. This operation is used to add a private copy of an existing event to a calendar. Only events with an eventType of default may be imported. — write (POST calendars/{calendarId}/events/import)

Changes something in the service.

gcal api calendar-events-import [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--supports-attachments <value>Whether API client performing operation supports event attachments. Optional. The default is False.
--event-label-version <value>Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color management. Version 1 enables support for event labels, and processes the eventLabelId in the event's body. In this case, the colorId field is ignored. The default is 0.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--conference-data-version <value>Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-events-import --calendar-id <value>

gcal api calendar-events-insert

Creates an event. — write (POST calendars/{calendarId}/events)

Changes something in the service.

gcal api calendar-events-insert [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--supports-attachments <value>Whether API client performing operation supports event attachments. Optional. The default is False.
--send-notifications <value>Deprecated. Please use sendUpdates instead.
--max-attendees <value>The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
--event-label-version <value>Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color management. Version 1 enables support for event labels, and processes the eventLabelId in the event's body. In this case, the colorId field is ignored. The default is 0.
--conference-data-version <value>Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--send-updates <value>Whether to send notifications about the creation of the new event. Note that some emails might still be sent. The default is false.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-events-insert --calendar-id <value>

gcal api calendar-events-instances

Returns instances of the specified recurring event. — read (GET calendars/{calendarId}/events/{eventId}/instances)

gcal api calendar-events-instances [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--event-id <value>Recurring event identifier.
--time-min <value>Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.
--page-token <value>Token specifying which result page to return. Optional.
--always-include-email <value>Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
--max-results <value>Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
--max-attendees <value>The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--show-deleted <value>Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.
--time-zone <value>Time zone used in the response. Optional. The default is the time zone of the calendar.
--original-start <value>The original start time of the instance in the result. Optional.
--time-max <value>Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset.

Example: gcal personal api calendar-events-instances --event-id <value> --calendar-id <value>

gcal api calendar-events-list

Returns events on the specified calendar. — read (GET calendars/{calendarId}/events)

gcal api calendar-events-list [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--time-zone <value>Time zone used in the response. Optional. The default is the time zone of the calendar.
--time-min <value>Lower bound (exclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.
--sync-token <value>Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
--max-attendees <value>The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
--show-hidden-invitations <value>Whether to include hidden invitations in the result. Optional. The default is False.
--event-types <value>Event types to return. Optional. This parameter can be repeated multiple times to return events of different types. If unset, returns all event types.
--time-max <value>Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set, timeMax must be greater than timeMin.
--always-include-email <value>Deprecated and ignored.
--q <value>Free text search terms to find events that match these terms in the following fields:.
--show-deleted <value>Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
--max-results <value>Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
--i-cal-uid <value>Specifies an event ID in the iCalendar format to be provided in the response. Optional. Use this if you want to search for an event by its iCalendar ID.
--order-by <value>The order of the events returned in the result. Optional. The default is an unspecified, stable order.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--updated-min <value>Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
--shared-extended-property <value>Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints.
--single-events <value>Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
--private-extended-property <value>Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints.
--page-token <value>Token specifying which result page to return. Optional.

Example: gcal personal api calendar-events-list --calendar-id <value>

gcal api calendar-events-move

Moves an event to another calendar, i.e. changes an event's organizer. Note that only default events can be moved; birthday, focusTime, fromGmail, outOfOffice and workingLocation events cannot be moved. — write (POST calendars/{calendarId}/events/{eventId}/move)

Changes something in the service.

gcal api calendar-events-move [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--send-updates <value>Guests who should receive notifications about the change of the event's organizer.
--send-notifications <value>Deprecated. Please use sendUpdates instead.
--event-id <value>Event identifier.
--destination <value>Calendar identifier of the target calendar where the event is to be moved to.
--calendar-id <value>Calendar identifier of the source calendar where the event currently is on.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-events-move --event-id <value> --destination <value> --calendar-id <value>

gcal api calendar-events-patch

Updates an event. This method supports patch semantics. — write (PATCH calendars/{calendarId}/events/{eventId})

Changes something in the service.

gcal api calendar-events-patch [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--max-attendees <value>The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
--send-updates <value>Guests who should receive notifications about the event update (for example, title changes, etc.).
--supports-attachments <value>Whether API client performing operation supports event attachments. Optional. The default is False.
--event-label-version <value>Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color management. Version 1 enables support for event labels, and processes the eventLabelId in the event's body. In this case, the colorId field is ignored. The default is 0.
--event-id <value>Event identifier.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--always-include-email <value>Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
--send-notifications <value>Deprecated. Please use sendUpdates instead.
--conference-data-version <value>Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-events-patch --event-id <value> --calendar-id <value>

gcal api calendar-events-quick-add

Creates an event based on a simple text string. — write (POST calendars/{calendarId}/events/quickAdd)

Changes something in the service.

gcal api calendar-events-quick-add [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--send-updates <value>Guests who should receive notifications about the creation of the new event.
--send-notifications <value>Deprecated. Please use sendUpdates instead.
--text <value>The text describing the event to be created.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-events-quick-add --text <value> --calendar-id <value>

gcal api calendar-events-update

Updates an event. — write (PUT calendars/{calendarId}/events/{eventId})

Changes something in the service.

gcal api calendar-events-update [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--calendar-id <value>Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.
--max-attendees <value>The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
--supports-attachments <value>Whether API client performing operation supports event attachments. Optional. The default is False.
--event-id <value>Event identifier.
--send-notifications <value>Deprecated. Please use sendUpdates instead.
--conference-data-version <value>Version number of conference data supported by the API client. Version 0 assumes no conference data support and ignores conference data in the event's body. Version 1 enables support for copying of ConferenceData as well as for creating new conferences using the createRequest field of conferenceData. The default is 0.
--send-updates <value>Guests who should receive notifications about the event update (for example, title changes, etc.).
--event-label-version <value>Version number of the event label feature supported by the API client. Version 0 assumes no event label support and processes the colorId field for color management. Version 1 enables support for event labels, and processes the eventLabelId in the event's body. In this case, the colorId field is ignored. The default is 0.
--always-include-email <value>Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.
--dry-runshow every permission this call checks, with its level, and call nothing.

Example: gcal personal api calendar-events-update --calendar-id <value> --event-id <value>

gcal api calendar-freebusy-query

Returns free/busy information for a set of calendars. — read (POST freeBusy)

gcal api calendar-freebusy-query [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--body <json>the request body as JSON; - reads it from stdin.
--body-file <path>the request body from a JSON file; - is stdin.

Example: gcal personal api calendar-freebusy-query

gcal api calendar-settings-get

Returns a single user setting. — read (GET users/me/settings/{setting})

gcal api calendar-settings-get [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--setting <value>The id of the user setting.

Example: gcal personal api calendar-settings-get --setting <value>

gcal api calendar-settings-list

Returns all user settings for the authenticated user. — read (GET users/me/settings)

gcal api calendar-settings-list [options]
OptionWhat it does
--alt <value>Data format for the response.
--fields <value>Selector specifying which fields to include in a partial response.
--user-ip <value>Deprecated. Please use quotaUser instead.
--pretty-print <value>Returns response with indentations and line breaks.
--quota-user <value>An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
--page-token <value>Token specifying which result page to return. Optional.
--sync-token <value>Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then.
--max-results <value>Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.

Example: gcal personal api calendar-settings-list

gcal doctor

the state this installation is in, without connecting unless --online

gcal doctor [options]
OptionWhat it does
--onlinealso connect once and read the account; sends nothing.

Example: gcal doctor, gcal doctor --json

gcal doctor reports

problem reports

gcal doctor reports show

what a problem report holds; writes nothing

gcal doctor reports show

Example: gcal doctor reports show

gcal doctor reports create

write a problem report to a file, and say where to send it

Changes something on this computer only.

gcal doctor reports create [options]
OptionWhat it does
--run <id>the run the report is about; the newest failed one if not given.
--output <file>where to write it; a new file in this directory if not given.

Example: gcal doctor reports create --output ./problem-report.json

gcal models

models that run on this machine

gcal models list

speech and embedding models, their download status and the default of each kind

gcal models list [query]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.

Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: gcal commands info models list

Next usually: gcal models download <model>, gcal models set <model>

Example: gcal models list, gcal models list kind:text

gcal models download

download and verify one speech or embedding model

Changes something on this computer only.

gcal models download <model> [options]
ArgumentRequirementWhat it is
modelrequireda model id from models list.
OptionWhat it does
--offlinerefuse a download that needs the network.
--accept-termsno longer needed; kept so older scripts still run.

Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: gcal commands info models download

Next usually: gcal models set <model>

Example: gcal models download embeddinggemma

gcal models set

make a downloaded text model the one every embed and every search by meaning uses, in every WireCat CLI. Each model keeps its own vectors: the next syncs embed what the new one lacks, and switching back is instant

Changes something on this computer only.

gcal models set <model>
ArgumentRequirementWhat it is
modelrequireda downloaded text model id from models list.

Returns: model chosen — id, kind, title, languages, size_bytes, downloaded, default, path, and 9 more; every field: gcal commands info models set

Next usually: gcal models download <model>

Example: gcal models set e5-large

gcal models add

add an ONNX embedding model from Hugging Face, pinned and checked by sha256

Changes something on this computer only.

gcal models add <id> [options]
ArgumentRequirementWhat it is
idrequiredthe id to give it: a-z, 0-9, . _ -.
OptionWhat it does
--payload <json>where the model is and how to run it, as JSON (below).
--offlinerefuse a call that needs the network.

Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: gcal commands info models add

Next usually: gcal models download <model>, gcal models set <model>

Example: gcal models add e5-base --payload '{"repository":"Xenova/multilingual-e5-base","onnx":"onnx/model_quantized.onnx","dims":768,"pooling":"mean","prefix":{"query":"query: ","passage":"passage: "}}'

gcal guide

scenarios: the commands for a common task, in order, and why each

gcal guide [name]
ArgumentRequirementWhat it is
nameoptionalone scenario; without it, the list.

Example: gcal guide, gcal guide agent-access --json

gcal skill

the instructions an agent is given for this tool

gcal skill show

print SKILL.md — gcal skill install puts it where Claude Code, Codex, Gemini CLI and OpenClaw look for it, and where Hermes does on request; --for prints the copy already there

gcal skill show [name] [options]
ArgumentRequirementWhat it is
nameoptionala part of this skill, or a skill shipped for a task: prepare, meet, mcp, events, changing, calendars, api.
OptionWhat it does
--for <agents>print the copy installed for these agents instead of this version's. One of: claude, agents.

Example: gcal skill show

gcal skill install

write SKILL.md to ~/.claude/skills/gcal-cli/ (Claude Code) and ~/.agents/skills/gcal-cli/ (Codex, Gemini CLI, OpenClaw); --for hermes also has Hermes read ~/.agents/skills, which changes Hermes's own settings, so all leaves it out

Changes something on this computer only.

gcal skill install [options]
OptionWhat it does
--for <agents>which agents to install for. One of: claude, agents, hermes, all. Default: all.

Example: gcal skill install --for agents

gcal skill status

for each place gcal skill install writes to, and for the copy Hermes reads: the path, the version installed there, and whether it is current, stale, missing or unversioned

gcal skill status

Example: gcal skill status, gcal skill status --json

gcal mcp

serve this profile to an agent over MCP and set it up — claude mcp add gcal -- gcal <profile> mcp serve

gcal mcp serve

serve this profile to an agent over MCP, on stdin and stdout — claude mcp add gcal -- gcal <profile> mcp serve; gcal mcp serve --profiles a,b or --profiles all serves those profiles from one server and each tool asks which

Changes something in the service.

gcal mcp serve [options]
OptionWhat it does
--permission <key=level>make a permission stricter for this server only, like api.calendar.events.insert=deny; it never loosens the profile; repeat for more keys.
--profiles <names|all>serve several profiles from one server instead of one: names, comma-separated, or all for every profile.
--httpserve over HTTP on 127.0.0.1 for ChatGPT and Claude in the browser, behind your tunnel; the profile's permissions decide.
--port <port>the local port for --http (default 8765).
--public-url <url>the tunnel's https address the browser apps use, e.g. https://.ts.net or https://.ts.net/tg.

Example: gcal personal mcp serve, gcal mcp serve --profiles work,personal, gcal personal mcp serve --http --public-url https://laptop.example.ts.net

gcal mcp revoke

forget every login mcp serve --http gave a browser app, of this profile or of the server --profiles names; each app must log in again

Changes something on this computer only.

gcal mcp revoke [options]
OptionWhat it does
--profiles <names|all>serve several profiles from one server instead of one: names, comma-separated, or all for every profile.

Example: gcal personal mcp revoke, gcal mcp revoke --profiles all

gcal mcp server

start, stop and check mcp serve --http in the background; status shows the login code for a browser app

gcal mcp server start

start mcp serve --http apart from this shell and answer once it listens, with its login code

Changes something on this computer only.

gcal mcp server start [options]
OptionWhat it does
--port <port>the local port (default 8765).
--public-url <url>the tunnel's https address the browser apps use, e.g. https://.ts.net or https://.ts.net/tg.
--permission <key=level>make a permission stricter for this server only; repeat for more keys.
--profiles <names|all>the server of several profiles that mcp serve --profiles serves: names, comma-separated, or all.

Example: gcal personal mcp server start --public-url https://laptop.example.ts.net

gcal mcp server stop

stop mcp serve --http — only one that mcp server start started

Changes something on this computer only.

gcal mcp server stop [options]
OptionWhat it does
--profiles <names|all>the server of several profiles that mcp serve --profiles serves: names, comma-separated, or all.

Example: gcal personal mcp server stop

gcal mcp server status

whether mcp serve --http runs, on which port and address, the login code for a new browser app, and the apps logged in

gcal mcp server status [options]
OptionWhat it does
--profiles <names|all>the server of several profiles that mcp serve --profiles serves: names, comma-separated, or all.

Example: gcal personal mcp server status --json

gcal mcp config

print the mcpServers entry for Claude Desktop, Cursor and others, with full paths; writes nothing

gcal mcp config [options]
OptionWhat it does
--permission <key=level>make a permission stricter for this server only, like api.calendar.events.insert=deny; it never loosens the profile; repeat for more keys.
--profiles <names|all>serve several profiles from one server instead of one: names, comma-separated, or all for every profile.

Example: gcal personal mcp config, gcal mcp config --profiles all

gcal mcp add

add this profile's local MCP server to Codex or Claude Code

Changes something on this computer only.

gcal mcp add <client> [options]
ArgumentRequirementWhat it is
clientrequiredcodex or claude-code.
OptionWhat it does
--allow-writesacknowledge that this profile offers writing tools.
--permission <key=level>make a permission stricter for this server only, like api.calendar.events.insert=deny; it never loosens the profile; repeat for more keys.

Example: gcal personal mcp add codex --allow-writes

gcal mcp check

check this profile's local MCP handshake and tool list

gcal mcp check [options]
OptionWhat it does
--permission <key=level>make a permission stricter for this server only, like api.calendar.events.insert=deny; it never loosens the profile; repeat for more keys.

Example: gcal personal mcp check

gcal upgrade

upgrade gcal with the package manager that installed it; --check only looks

Changes something on this computer only.

gcal upgrade [options]
OptionWhat it does
--checksay whether a newer version exists, and install nothing.

Example: gcal upgrade --check

gcal config

the settings in force, and where each one came from

gcal config show

the profile, the profiles that exist, and each setting with where it came from

gcal config show

Example: gcal personal config show

gcal config set

save a setting to the configuration file

Changes something on this computer only.

gcal config set <setting> <value> [options]
ArgumentRequirementWhat it is
settingrequiredone of: limit, timeout_ms, color, record, record_input, keep_runs_for_days, keep_successful_runs_for_days, keep_store_runs_for_days, runs_size_limit_mb, permissions, requests_per_minute, search_reranker, embedding_provider, embedding_model, embedding_base_url, embedding_dims, models, google_client_id, update_check, skill_hint, search_stemmers.cyrillic, search_stemmers.latin, owner_languages, crm.:.links, crm.:.company-types, crm.:.scope, crm.:.unassigned, crm.:.self, crm.:.stage-tasks, crm.:.activities, crm.:.files.max_files, crm.:.files.max_file_mb, crm.:.files.max_run_mb, crm.:.files.run_minutes, crm.:.files.days, crm.:.files.max_total_mb.
valuerequireda number, true or false; for a group tg:work,max:Alice,email:me@x.
OptionWhat it does
--defaultschange what every profile gets, rather than this profile.

Example: gcal personal config set limit 20

gcal config unset

remove a setting from the configuration file

Changes something on this computer only.

gcal config unset <setting> [options]
ArgumentRequirementWhat it is
settingrequiredone of: limit, timeout_ms, color, record, record_input, keep_runs_for_days, keep_successful_runs_for_days, keep_store_runs_for_days, runs_size_limit_mb, permissions, requests_per_minute, search_reranker, embedding_provider, embedding_model, embedding_base_url, embedding_dims, models, google_client_id, update_check, skill_hint, search_stemmers.cyrillic, search_stemmers.latin, owner_languages, crm.:.links, crm.:.company-types, crm.:.scope, crm.:.unassigned, crm.:.self, crm.:.stage-tasks, crm.:.activities, crm.:.files.max_files, crm.:.files.max_file_mb, crm.:.files.max_run_mb, crm.:.files.run_minutes, crm.:.files.days, crm.:.files.max_total_mb.
OptionWhat it does
--defaultschange what every profile gets, rather than this profile.

Example: gcal personal config unset limit

gcal config migrate

write each setting the file lacks at its default, keeping yours

Changes something on this computer only.

gcal config migrate

Example: gcal config migrate

gcal config repair

fix broken JSON syntax in the settings file — comments, a missing or extra comma, unquoted keys, single quotes, missing closing brackets at the end — keeping every value, with a backup beside it; refuses anything with more than one reading and changes nothing then

Changes something on this computer only.

gcal config repair [options]
OptionWhat it does
--dry-runsay what it would fix, and change nothing.

Example: gcal config repair, gcal config repair --dry-run

gcal runs

recorded runs — what this tool did, and when

gcal runs list

recorded runs, newest first

gcal runs list [query] [options]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.
OptionWhat it does
--limit <n>how many to show.
--page <n>which page, starting at 1.

Returns: run — run_id, command, started_at, status, cli_version, profile, completed_at, requests, and 23 more; every field: gcal commands info runs list

Example: gcal personal runs list --limit 10

gcal runs show

one run: what it was, how it ended, and every event it logged

gcal runs show <run-id> [options]
ArgumentRequirementWhat it is
run-idrequiredan id from gcal runs list.
OptionWhat it does
--problemsonly failed responses, warnings and crashes.

Returns: run details — run_id, command, started_at, status, cli_version, directory, event_count, events, and 22 more; every field: gcal commands info runs show

Example: gcal personal runs show run-101

gcal runs path

the directory holding one run

gcal runs path <run-id>
ArgumentRequirementWhat it is
run-idrequiredan id from gcal runs list.

Returns: run location — path; every field: gcal commands info runs path

Example: gcal personal runs path run-101

gcal schedule

run a gcal command or an agent later or on a timer (systemd, launchd, Task Scheduler); an agent cannot send

gcal schedule command

run gcal <args…> on a timer — reads save what they read, so this is how a chat's history fills the store

Changes something on this computer only.

gcal schedule command <name> <args> [options]
ArgumentRequirementWhat it is
namerequiredlowercase letters, digits and dashes.
argsrequiredthe gcal command after its name, e.g. -- messages list --limit 50.
OptionWhat it does
--every <duration>repeat: 30m, 2h, 1d.
--at <HH:MM>every day at this local time; 'mon 09:00' once a week, 'mon,fri 09:00' on several days (mon, tue, wed, thu, fri, sat, sun); repeat it for more times.
--at-time <time>one run: 30m, 2d from now, or an ISO time; the schedule removes itself after it.
--notify-on <when>desktop notice after a run (default failures for an agent that repeats with --every, else always). One of: always, failures, never.
--deliver-to <route>also send the result, when --notify-on says so, by the owner's own tg or mail: telegram-bot:/, or email:/; repeat it for more.

Example: gcal personal schedule command health --every 1h -- doctor, gcal personal schedule command morning-check --at 08:00 -- doctor

gcal schedule agent

start an agent (claude, codex, gemini, cursor, opencode, openclaw, hermes, grok, kimi) with a prompt on a timer; it runs with GCAL_READ_ONLY=1, so it reads and drafts and cannot send, and its own limits hold it to these CLIs' commands; an agent with no such limit is refused (schedule agents list says which) — its answer is kept and you are notified

Changes something on this computer only.

gcal schedule agent <name> <harness> <prompt> [options]
ArgumentRequirementWhat it is
namerequiredlowercase letters, digits and dashes.
harnessrequiredthe agent to start. One of: claude, codex, gemini, cursor, opencode, openclaw, hermes, grok, kimi.
promptrequiredwhat to do, e.g. "summarize what came in during the last day: gcal personal search messages 'date>1d' --newest --limit 20".
OptionWhat it does
--model <model>the model it runs on: an alias such as sonnet, or a model id; "" for the agent's own default (default sonnet for claude, the agent's own for the others, or the config file's).
--max-cost <usd>claude only: stop a run that costs more than this, in US dollars.
--allow-dangerousstart an agent its own limits cannot hold to these CLIs' commands, where schedule agents list says allowed_with_ack: it may then run any program inside its sandbox.
--max-cost-per-day <usd>claude only, as the others report no cost: start no run for the rest of the day once its runs cost this much, in US dollars; 0 for no cap (default 5, or the config file's).
--every <duration>repeat: 30m, 2h, 1d.
--at <HH:MM>every day at this local time; 'mon 09:00' once a week, 'mon,fri 09:00' on several days (mon, tue, wed, thu, fri, sat, sun); repeat it for more times.
--at-time <time>one run: 30m, 2d from now, or an ISO time; the schedule removes itself after it.
--notify-on <when>desktop notice after a run (default failures for an agent that repeats with --every, else always). One of: always, failures, never.
--deliver-to <route>also send the result, when --notify-on says so, by the owner's own tg or mail: telegram-bot:/, or email:/; repeat it for more.

Example: gcal personal schedule agent review claude "review what came in overnight and draft replies" --at 08:30, gcal personal schedule agent triage gemini "list what needs an answer today" --every 2h, gcal personal schedule agent weekly claude "review the week's open threads" --at 09:00 --model opus

gcal schedule list

the schedules, when they run and how their last run went

gcal schedule list [query]
ArgumentRequirementWhat it is
queryoptionalfield:value terms that narrow the list — the fields are below.

Returns: scheduled job — name, kind, when, last, paused, notify, deliver_to, harness, and 4 more; every field: gcal commands info schedule list

Example: gcal personal schedule list, gcal personal schedule list kind:agent

gcal schedule agents

the coding agents an agent schedule may start

gcal schedule agents list

the agents a schedule may start, and which are on PATH here

gcal schedule agents list [query]
ArgumentRequirementWhat it is
queryoptionalfield:value terms; this list filters by none yet.

Returns: schedule harness — id, name, programs, reports_cost, restricted, restricted_reason, allowed_with_ack, installed, and 1 more; every field: gcal commands info schedule agents list

Example: gcal personal schedule agents list, gcal personal schedule agents list --json

gcal schedule run

run a schedule now, as its timer would, and wait for it; a paused one runs too

Changes something in the service.

gcal schedule run <name> [options]
ArgumentRequirementWhat it is
namerequiredthe schedule's name, as schedule list shows it.
OptionWhat it does
--no-notifykeep the result here: send it along none of its routes.
--deliver-to <route>send it along only this one of its own routes; repeat it for more.

Example: gcal personal schedule run health

gcal schedule remove

stop a schedule and remove its timer; its past output stays

Changes something on this computer only.

gcal schedule remove <name>
ArgumentRequirementWhat it is
namerequiredthe schedule's name, as schedule list shows it.

Example: gcal personal schedule remove health

gcal schedule pause

take a schedule off its timer and keep it; run runs it, resume puts it back

Changes something on this computer only.

gcal schedule pause <name>
ArgumentRequirementWhat it is
namerequiredthe schedule's name, as schedule list shows it.

Example: gcal personal schedule pause health

gcal schedule resume

put a paused schedule back on its timer

Changes something on this computer only.

gcal schedule resume <name>
ArgumentRequirementWhat it is
namerequiredthe schedule's name, as schedule list shows it.

Example: gcal personal schedule resume health

gcal schedule exec

what a timer runs, given the schedule's file; to run one by hand, use run

Changes something in the service.

gcal schedule exec <file> [seal]
ArgumentRequirementWhat it is
filerequiredthe schedule's schedule.json in the state folder, as the timer passes it.
sealoptionalthe file's SHA-256 as it was saved, which the timer passes; a file that differs does not run.

Example: gcal personal schedule exec ~/.local/share/gcal-cli/schedules/health/schedule.json

Exit codes

Branch on the code, not on the text: the text can change, the code does not.

CodeWhen
0it worked
2validation_error
3configuration_error
4authentication_error
5permission_error
6not_found
7confirmation_required
8rate_limited
9timeout
10network_error
11provider_error
12provider_unavailable
13invalid_response
14outcome_unknown
15conflict
130cancelled
1anything else