productivity
Calendly CLI for Headless Automation
Use the Calendly CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write Bearer token auth
Calendly CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Calendly CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Calendly CLI for Headless Automation
kosmokrator integrations:configure calendly --set access_token="$CALENDLY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call calendly.calendly_list_event_types '{"user":"example_user","organization":"example_organization","active":true,"page_token":"example_page_token","count":1}' --json Discovery Before Execution
Agents and scripts can inspect Calendly docs and schemas 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 Useful Calendly CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
calendly.calendly_list_event_types | Read | user, organization, active, page_token, count | List event types for a Calendly user or organization. |
calendly.calendly_get_event_type | Read | uuid | Get a single Calendly event type by UUID. |
calendly.calendly_create_booking | Write | host, start_time, end_time, location, name | Create a booking in Calendly by generating a one-off event type with a scheduling URL for the invitee. |
calendly.calendly_list_bookings | Read | user, organization, status, min_start_time, max_start_time, page_token, count | List scheduled Calendly bookings (events) with optional filters. |
calendly.calendly_list_organizations | Read | page_token | List Calendly organizations the authenticated user belongs to. |
calendly.calendly_list_users | Read | organization, user, page_token, count | List users (organization memberships) in a Calendly organization. |
calendly.calendly_get_current_user | Read | none | Get the authenticated Calendly user profile. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.