Google Calendar CLI Setup Google Calendar can be configured headlessly with `kosmokrator integrations:configure google_calendar`.
# 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 --set access_token=" $GOOGLE_CALENDAR_ACCESS_TOKEN " --enable --read allow --write ask --json
kosmokrator integrations:doctor google_calendar --json
kosmokrator integrations:status --json Credentials
Authentication type: OAuth browser flow oauth2_authorization_code. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Call Google Calendar Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call google_calendar.google_calendar_create_event '{
"calendar_id": "example_calendar_id",
"summary": "example_summary",
"description": "example_description",
"location": "example_location",
"start_date_time": "example_start_date_time",
"end_date_time": "example_end_date_time",
"start_date": "example_start_date",
"end_date": "example_end_date"
}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:google_calendar google_calendar_create_event '{
"calendar_id": "example_calendar_id",
"summary": "example_summary",
"description": "example_description",
"location": "example_location",
"start_date_time": "example_start_date_time",
"end_date_time": "example_end_date_time",
"start_date": "example_start_date",
"end_date": "example_end_date"
}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs google_calendar --json
kosmo integrations:docs google_calendar.google_calendar_create_event --json
kosmo integrations:schema google_calendar.google_calendar_create_event --json
kosmo integrations:search "Google Calendar" --json
kosmo integrations:list --json All CLI Functions
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Google Calendar.
google_calendar.google_calendar_create_event Write write Create a Google Calendar event. Use startDateTime/endDateTime for timed events, or startDate/endDate for all-day events.
calendar_id, summary, description, location, start_date_time, end_date_time, start_date, end_date, time_zone, attendees, recurrence kosmo integrations:call google_calendar.google_calendar_create_event '{"calendar_id":"example_calendar_id","summary":"example_summary","description":"example_description","location":"example_location","start_date_time":"example_start_date_time","end_date_time":"example_end_date_time","start_date":"example_start_date","end_date":"example_end_date"}' --json copy kosmo integrations:google_calendar google_calendar_create_event '{"calendar_id":"example_calendar_id","summary":"example_summary","description":"example_description","location":"example_location","start_date_time":"example_start_date_time","end_date_time":"example_end_date_time","start_date":"example_start_date","end_date":"example_end_date"}' --json copy
google_calendar.google_calendar_delete_event Write write Delete a Google Calendar event by its ID.
calendar_id, event_id kosmo integrations:call google_calendar.google_calendar_delete_event '{"calendar_id":"example_calendar_id","event_id":"example_event_id"}' --json copy kosmo integrations:google_calendar google_calendar_delete_event '{"calendar_id":"example_calendar_id","event_id":"example_event_id"}' --json copy
google_calendar.google_calendar_freebusy Read read Check free/busy availability across one or more Google Calendars.
Returns busy time slots within the specified time range.
Useful for finding open slots for scheduling meetings.
time_min, time_max, calendar_ids kosmo integrations:call google_calendar.google_calendar_freebusy '{"time_min":"example_time_min","time_max":"example_time_max","calendar_ids":"example_calendar_ids"}' --json copy kosmo integrations:google_calendar google_calendar_freebusy '{"time_min":"example_time_min","time_max":"example_time_max","calendar_ids":"example_calendar_ids"}' --json copy
google_calendar.google_calendar_get_event Read read Get a single Google Calendar event by its ID.
calendar_id, event_id kosmo integrations:call google_calendar.google_calendar_get_event '{"calendar_id":"example_calendar_id","event_id":"example_event_id"}' --json copy kosmo integrations:google_calendar google_calendar_get_event '{"calendar_id":"example_calendar_id","event_id":"example_event_id"}' --json copy
google_calendar.google_calendar_list_calendars Read read List all Google Calendars the user has access to.
max_results, page_token kosmo integrations:call google_calendar.google_calendar_list_calendars '{"max_results":1,"page_token":"example_page_token"}' --json copy kosmo integrations:google_calendar google_calendar_list_calendars '{"max_results":1,"page_token":"example_page_token"}' --json copy
google_calendar.google_calendar_list_events Read read List or search events in a Google Calendar. Supports date range filtering and text search.
calendar_id, time_min, time_max, query, max_results, page_token kosmo integrations:call google_calendar.google_calendar_list_events '{"calendar_id":"example_calendar_id","time_min":"example_time_min","time_max":"example_time_max","query":"example_query","max_results":1,"page_token":"example_page_token"}' --json copy kosmo integrations:google_calendar google_calendar_list_events '{"calendar_id":"example_calendar_id","time_min":"example_time_min","time_max":"example_time_max","query":"example_query","max_results":1,"page_token":"example_page_token"}' --json copy
google_calendar.google_calendar_quick_add Read read Create a Google Calendar event from natural language text (e.g., "Lunch with Alice tomorrow at noon").
calendar_id, text kosmo integrations:call google_calendar.google_calendar_quick_add '{"calendar_id":"example_calendar_id","text":"example_text"}' --json copy kosmo integrations:google_calendar google_calendar_quick_add '{"calendar_id":"example_calendar_id","text":"example_text"}' --json copy
google_calendar.google_calendar_update_event Write write Update an existing Google Calendar event (partial update). Only specified fields are changed.
calendar_id, event_id, summary, description, location, start_date_time, end_date_time, start_date, end_date, time_zone, attendees, recurrence kosmo integrations:call google_calendar.google_calendar_update_event '{"calendar_id":"example_calendar_id","event_id":"example_event_id","summary":"example_summary","description":"example_description","location":"example_location","start_date_time":"example_start_date_time","end_date_time":"example_end_date_time","start_date":"example_start_date"}' --json copy kosmo integrations:google_calendar google_calendar_update_event '{"calendar_id":"example_calendar_id","event_id":"example_event_id","summary":"example_summary","description":"example_description","location":"example_location","start_date_time":"example_start_date_time","end_date_time":"example_end_date_time","start_date":"example_start_date"}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Write write
Schema command kosmo integrations:schema google_calendar.google_calendar_create_event --json
Operation Write write
Schema command kosmo integrations:schema google_calendar.google_calendar_delete_event --json
Operation Read read
Schema command kosmo integrations:schema google_calendar.google_calendar_freebusy --json
Operation Read read
Schema command kosmo integrations:schema google_calendar.google_calendar_get_event --json
Operation Read read
Schema command kosmo integrations:schema google_calendar.google_calendar_list_calendars --json
Operation Read read
Schema command kosmo integrations:schema google_calendar.google_calendar_list_events --json
Operation Read read
Schema command kosmo integrations:schema google_calendar.google_calendar_quick_add --json
Operation Write write
Schema command kosmo integrations:schema google_calendar.google_calendar_update_event --json 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.