KosmoKrator

productivity

Calendly CLI for AI Agents

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

7 functions 6 read 1 write Bearer token auth

Calendly CLI Setup

Calendly can be configured headlessly with `kosmokrator integrations:configure calendly`.

# 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 calendly --set access_token="$CALENDLY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor calendly --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token CALENDLY_ACCESS_TOKEN Secret secret yes Personal Access Token

Call Calendly Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call calendly.calendly_list_event_types '{
  "user": "example_user",
  "organization": "example_organization",
  "active": true,
  "page_token": "example_page_token",
  "count": 1
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:calendly calendly_list_event_types '{
  "user": "example_user",
  "organization": "example_organization",
  "active": true,
  "page_token": "example_page_token",
  "count": 1
}' --json

Agent Discovery Commands

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

kosmo integrations:docs calendly --json
kosmo integrations:docs calendly.calendly_list_event_types --json
kosmo integrations:schema calendly.calendly_list_event_types --json
kosmo integrations:search "Calendly" --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 Calendly.

calendly.calendly_list_event_types

Read read

List event types for a Calendly user or organization.

Parameters
user, organization, active, page_token, count

Generic CLI call

kosmo integrations:call calendly.calendly_list_event_types '{"user":"example_user","organization":"example_organization","active":true,"page_token":"example_page_token","count":1}' --json

Provider shortcut

kosmo integrations:calendly calendly_list_event_types '{"user":"example_user","organization":"example_organization","active":true,"page_token":"example_page_token","count":1}' --json

calendly.calendly_get_event_type

Read read

Get a single Calendly event type by UUID.

Parameters
uuid

Generic CLI call

kosmo integrations:call calendly.calendly_get_event_type '{"uuid":"example_uuid"}' --json

Provider shortcut

kosmo integrations:calendly calendly_get_event_type '{"uuid":"example_uuid"}' --json

calendly.calendly_create_booking

Write write

Create a booking in Calendly by generating a one-off event type with a scheduling URL for the invitee.

Parameters
host, start_time, end_time, location, name

Generic CLI call

kosmo integrations:call calendly.calendly_create_booking '{"host":"example_host","start_time":"example_start_time","end_time":"example_end_time","location":"example_location","name":"example_name"}' --json

Provider shortcut

kosmo integrations:calendly calendly_create_booking '{"host":"example_host","start_time":"example_start_time","end_time":"example_end_time","location":"example_location","name":"example_name"}' --json

calendly.calendly_list_bookings

Read read

List scheduled Calendly bookings (events) with optional filters.

Parameters
user, organization, status, min_start_time, max_start_time, page_token, count

Generic CLI call

kosmo integrations:call calendly.calendly_list_bookings '{"user":"example_user","organization":"example_organization","status":"example_status","min_start_time":"example_min_start_time","max_start_time":"example_max_start_time","page_token":"example_page_token","count":1}' --json

Provider shortcut

kosmo integrations:calendly calendly_list_bookings '{"user":"example_user","organization":"example_organization","status":"example_status","min_start_time":"example_min_start_time","max_start_time":"example_max_start_time","page_token":"example_page_token","count":1}' --json

calendly.calendly_list_organizations

Read read

List Calendly organizations the authenticated user belongs to.

Parameters
page_token

Generic CLI call

kosmo integrations:call calendly.calendly_list_organizations '{"page_token":"example_page_token"}' --json

Provider shortcut

kosmo integrations:calendly calendly_list_organizations '{"page_token":"example_page_token"}' --json

calendly.calendly_list_users

Read read

List users (organization memberships) in a Calendly organization.

Parameters
organization, user, page_token, count

Generic CLI call

kosmo integrations:call calendly.calendly_list_users '{"organization":"example_organization","user":"example_user","page_token":"example_page_token","count":1}' --json

Provider shortcut

kosmo integrations:calendly calendly_list_users '{"organization":"example_organization","user":"example_user","page_token":"example_page_token","count":1}' --json

calendly.calendly_get_current_user

Read read

Get the authenticated Calendly user profile.

Parameters
none

Generic CLI call

kosmo integrations:call calendly.calendly_get_current_user '{}' --json

Provider shortcut

kosmo integrations:calendly calendly_get_current_user '{}' --json

Function Schemas

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

calendly.calendly_list_event_types

List event types for a Calendly user or organization.

Operation
Read read
Schema command
kosmo integrations:schema calendly.calendly_list_event_types --json
ParameterTypeRequiredDescription
user string no The user URI to filter by (e.g. https://api.calendly.com/users/...).
organization string no The organization URI to filter by.
active boolean no Filter by active status. true returns only active event types.
page_token string no Pagination token from a previous response.
count integer no Number of results per page (default 20, max 100).

calendly.calendly_get_event_type

Get a single Calendly event type by UUID.

Operation
Read read
Schema command
kosmo integrations:schema calendly.calendly_get_event_type --json
ParameterTypeRequiredDescription
uuid string yes The event type UUID.

calendly.calendly_create_booking

Create a booking in Calendly by generating a one-off event type with a scheduling URL for the invitee.

Operation
Write write
Schema command
kosmo integrations:schema calendly.calendly_create_booking --json
ParameterTypeRequiredDescription
host string yes The host user URI (e.g. https://api.calendly.com/users/...).
start_time string yes Start time in ISO 8601 format (e.g. 2024-06-15T10:00:00Z).
end_time string yes End time in ISO 8601 format (e.g. 2024-06-15T11:00:00Z).
location object no Location object with "type" (e.g. "zoom", "google_conference", "custom") and optional "location".
name string no Name for the booking / event type.

calendly.calendly_list_bookings

List scheduled Calendly bookings (events) with optional filters.

Operation
Read read
Schema command
kosmo integrations:schema calendly.calendly_list_bookings --json
ParameterTypeRequiredDescription
user string no The user URI to filter by.
organization string no The organization URI to filter by.
status string no Filter by status: "active" or "canceled".
min_start_time string no ISO 8601 lower bound for start time.
max_start_time string no ISO 8601 upper bound for start time.
page_token string no Pagination token from a previous response.
count integer no Number of results per page (default 20, max 100).

calendly.calendly_list_organizations

List Calendly organizations the authenticated user belongs to.

Operation
Read read
Schema command
kosmo integrations:schema calendly.calendly_list_organizations --json
ParameterTypeRequiredDescription
page_token string no Pagination token from a previous response.

calendly.calendly_list_users

List users (organization memberships) in a Calendly organization.

Operation
Read read
Schema command
kosmo integrations:schema calendly.calendly_list_users --json
ParameterTypeRequiredDescription
organization string no The organization URI to filter by (e.g. https://api.calendly.com/organizations/...).
user string no The user URI to filter by.
page_token string no Pagination token from a previous response.
count integer no Number of results per page (default 20, max 100).

calendly.calendly_get_current_user

Get the authenticated Calendly user profile.

Operation
Read read
Schema command
kosmo integrations:schema calendly.calendly_get_current_user --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.