KosmoKrator

productivity

Google Calendar CLI for AI Agents

Use the Google Calendar CLI from KosmoKrator to call Google Calendar tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Google Calendar CLI Setup

Google Calendar can be configured headlessly with `kosmokrator integrations:configure google-calendar`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure google-calendar --enable --read allow --write ask --json
kosmokrator integrations:doctor google-calendar --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call google-calendar.google_calendar_settings_get '{}' --json
Provider shortcut
kosmo integrations:google-calendar google_calendar_settings_get '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs google-calendar --json
kosmo integrations:docs google-calendar.google_calendar_settings_get --json
kosmo integrations:schema google-calendar.google_calendar_settings_get --json
kosmo integrations:search "Google Calendar" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

google-calendar.google_calendar_settings_get

Settings Get (GET /users/me/settings/{setting}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_settings_get '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_settings_get '{}' --json

google-calendar.google_calendar_settings_list

Settings List (GET /users/me/settings).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_settings_list '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_settings_list '{}' --json

google-calendar.google_calendar_settings_watch

Settings Watch (POST /users/me/settings/watch).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_settings_watch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_settings_watch '{}' --json

google-calendar.google_calendar_calendars_insert

Calendars Insert (POST /calendars).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendars_insert '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendars_insert '{}' --json

google-calendar.google_calendar_calendars_get

Calendars Get (GET /calendars/{calendarId}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendars_get '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendars_get '{}' --json

google-calendar.google_calendar_calendars_patch

Calendars Patch (PATCH /calendars/{calendarId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendars_patch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendars_patch '{}' --json

google-calendar.google_calendar_calendars_update

Calendars Update (PUT /calendars/{calendarId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendars_update '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendars_update '{}' --json

google-calendar.google_calendar_calendars_delete

Calendars Delete (DELETE /calendars/{calendarId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendars_delete '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendars_delete '{}' --json

google-calendar.google_calendar_calendars_clear

Calendars Clear (POST /calendars/{calendarId}/clear).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendars_clear '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendars_clear '{}' --json

google-calendar.google_calendar_colors_get

Colors Get (GET /colors).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_colors_get '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_colors_get '{}' --json

google-calendar.google_calendar_calendar_list_get

Calendar List Get (GET /users/me/calendarList/{calendarId}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendar_list_get '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendar_list_get '{}' --json

google-calendar.google_calendar_calendar_list_watch

Calendar List Watch (POST /users/me/calendarList/watch).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendar_list_watch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendar_list_watch '{}' --json

google-calendar.google_calendar_calendar_list_insert

Calendar List Insert (POST /users/me/calendarList).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendar_list_insert '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendar_list_insert '{}' --json

google-calendar.google_calendar_calendar_list_list

Calendar List List (GET /users/me/calendarList).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendar_list_list '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendar_list_list '{}' --json

google-calendar.google_calendar_calendar_list_delete

Calendar List Delete (DELETE /users/me/calendarList/{calendarId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendar_list_delete '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendar_list_delete '{}' --json

google-calendar.google_calendar_calendar_list_update

Calendar List Update (PUT /users/me/calendarList/{calendarId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendar_list_update '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendar_list_update '{}' --json

google-calendar.google_calendar_calendar_list_patch

Calendar List Patch (PATCH /users/me/calendarList/{calendarId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_calendar_list_patch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_calendar_list_patch '{}' --json

google-calendar.google_calendar_channels_stop

Channels Stop (POST /channels/stop).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_channels_stop '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_channels_stop '{}' --json

google-calendar.google_calendar_events_move

Events Move (POST /calendars/{calendarId}/events/{eventId}/move).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_move '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_move '{}' --json

google-calendar.google_calendar_events_watch

Events Watch (POST /calendars/{calendarId}/events/watch).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_watch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_watch '{}' --json

google-calendar.google_calendar_events_delete

Events Delete (DELETE /calendars/{calendarId}/events/{eventId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_delete '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_delete '{}' --json

google-calendar.google_calendar_events_import

Events Import (POST /calendars/{calendarId}/events/import).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_import '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_import '{}' --json

google-calendar.google_calendar_events_insert

Events Insert (POST /calendars/{calendarId}/events).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_insert '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_insert '{}' --json

google-calendar.google_calendar_events_quick_add

Events Quick Add (POST /calendars/{calendarId}/events/quickAdd).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_quick_add '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_quick_add '{}' --json

google-calendar.google_calendar_events_get

Events Get (GET /calendars/{calendarId}/events/{eventId}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_get '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_get '{}' --json

google-calendar.google_calendar_events_patch

Events Patch (PATCH /calendars/{calendarId}/events/{eventId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_patch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_patch '{}' --json

google-calendar.google_calendar_events_instances

Events Instances (GET /calendars/{calendarId}/events/{eventId}/instances).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_instances '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_instances '{}' --json

google-calendar.google_calendar_events_update

Events Update (PUT /calendars/{calendarId}/events/{eventId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_update '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_update '{}' --json

google-calendar.google_calendar_events_list

Events List (GET /calendars/{calendarId}/events).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_events_list '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_events_list '{}' --json

google-calendar.google_calendar_acl_delete

Acl Delete (DELETE /calendars/{calendarId}/acl/{ruleId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_acl_delete '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_acl_delete '{}' --json

google-calendar.google_calendar_acl_list

Acl List (GET /calendars/{calendarId}/acl).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_acl_list '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_acl_list '{}' --json

google-calendar.google_calendar_acl_patch

Acl Patch (PATCH /calendars/{calendarId}/acl/{ruleId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_acl_patch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_acl_patch '{}' --json

google-calendar.google_calendar_acl_update

Acl Update (PUT /calendars/{calendarId}/acl/{ruleId}).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_acl_update '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_acl_update '{}' --json

google-calendar.google_calendar_acl_get

Acl Get (GET /calendars/{calendarId}/acl/{ruleId}).

Read read
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_acl_get '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_acl_get '{}' --json

google-calendar.google_calendar_acl_watch

Acl Watch (POST /calendars/{calendarId}/acl/watch).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_acl_watch '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_acl_watch '{}' --json

google-calendar.google_calendar_acl_insert

Acl Insert (POST /calendars/{calendarId}/acl).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_acl_insert '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_acl_insert '{}' --json

google-calendar.google_calendar_freebusy_query

Freebusy Query (POST /freeBusy).

Write write
Parameters
none
Generic call
kosmo integrations:call google-calendar.google_calendar_freebusy_query '{}' --json
Shortcut
kosmo integrations:google-calendar google_calendar_freebusy_query '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

google-calendar.google_calendar_settings_get 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_settings_get --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_settings_list 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_settings_list --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_settings_watch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_settings_watch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendars_insert 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendars_insert --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendars_get 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendars_get --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendars_patch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendars_patch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendars_update 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendars_update --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendars_delete 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendars_delete --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendars_clear 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendars_clear --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_colors_get 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_colors_get --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendar_list_get 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendar_list_get --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendar_list_watch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendar_list_watch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendar_list_insert 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendar_list_insert --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendar_list_list 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendar_list_list --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendar_list_delete 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendar_list_delete --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendar_list_update 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendar_list_update --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_calendar_list_patch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_calendar_list_patch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_channels_stop 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_channels_stop --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_move 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_move --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_watch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_watch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_delete 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_delete --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_import 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_import --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_insert 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_insert --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_quick_add 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_quick_add --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_get 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_get --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_patch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_patch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_instances 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_instances --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_update 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_update --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_events_list 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_events_list --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_acl_delete 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_acl_delete --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_acl_list 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_acl_list --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_acl_patch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_acl_patch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_acl_update 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_acl_update --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_acl_get 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_acl_get --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_acl_watch 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_acl_watch --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_acl_insert 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_acl_insert --json
ParameterTypeRequiredDescription
No parameters.
google-calendar.google_calendar_freebusy_query 0 parameters
Schema command
kosmo integrations:schema google-calendar.google_calendar_freebusy_query --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.