KosmoKrator

productivity

AddEvent CLI for AI Agents

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

7 functions 6 read 1 write Bearer token auth

AddEvent CLI Setup

AddEvent can be configured headlessly with `kosmokrator integrations:configure addevent`.

# 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 addevent --set access_token="$ADDEVENT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor addevent --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 ADDEVENT_ACCESS_TOKEN Secret secret yes Access Token
url ADDEVENT_URL URL url no API Base URL

Call AddEvent Headlessly

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

kosmo integrations:call addevent.addevent_list_events '{
  "limit": 1,
  "page": 1,
  "category": 1
}' --json

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

kosmo integrations:addevent addevent_list_events '{
  "limit": 1,
  "page": 1,
  "category": 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 addevent --json
kosmo integrations:docs addevent.addevent_list_events --json
kosmo integrations:schema addevent.addevent_list_events --json
kosmo integrations:search "AddEvent" --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 AddEvent.

addevent.addevent_list_events

Read read

List calendar events from AddEvent. Supports pagination with limit and page parameters, and optional filtering by category ID.

Parameters
limit, page, category

Generic CLI call

kosmo integrations:call addevent.addevent_list_events '{"limit":1,"page":1,"category":1}' --json

Provider shortcut

kosmo integrations:addevent addevent_list_events '{"limit":1,"page":1,"category":1}' --json

addevent.addevent_get_event

Read read

Get details for a specific AddEvent calendar event by ID.

Parameters
id

Generic CLI call

kosmo integrations:call addevent.addevent_get_event '{"id":1}' --json

Provider shortcut

kosmo integrations:addevent addevent_get_event '{"id":1}' --json

addevent.addevent_create_event

Write write

Create a new calendar event in AddEvent. Requires a title, start date, and end date. Optionally add a location, description, and category.

Parameters
title, start_date, end_date, location, description, category_id

Generic CLI call

kosmo integrations:call addevent.addevent_create_event '{"title":"example_title","start_date":"example_start_date","end_date":"example_end_date","location":"example_location","description":"example_description","category_id":1}' --json

Provider shortcut

kosmo integrations:addevent addevent_create_event '{"title":"example_title","start_date":"example_start_date","end_date":"example_end_date","location":"example_location","description":"example_description","category_id":1}' --json

addevent.addevent_list_categories

Read read

List all event categories in AddEvent. Use category IDs to organize and filter events.

Parameters
none

Generic CLI call

kosmo integrations:call addevent.addevent_list_categories '{}' --json

Provider shortcut

kosmo integrations:addevent addevent_list_categories '{}' --json

addevent.addevent_list_groups

Read read

List event groups from AddEvent. Groups are collections of related events. Supports pagination with limit and page parameters.

Parameters
limit, page

Generic CLI call

kosmo integrations:call addevent.addevent_list_groups '{"limit":1,"page":1}' --json

Provider shortcut

kosmo integrations:addevent addevent_list_groups '{"limit":1,"page":1}' --json

addevent.addevent_get_group

Read read

Get details for a specific AddEvent event group by ID.

Parameters
id

Generic CLI call

kosmo integrations:call addevent.addevent_get_group '{"id":1}' --json

Provider shortcut

kosmo integrations:addevent addevent_get_group '{"id":1}' --json

addevent.addevent_get_current_user

Read read

Get the profile of the currently authenticated AddEvent user. Useful for verifying credentials and displaying account information.

Parameters
none

Generic CLI call

kosmo integrations:call addevent.addevent_get_current_user '{}' --json

Provider shortcut

kosmo integrations:addevent addevent_get_current_user '{}' --json

Function Schemas

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

addevent.addevent_list_events

List calendar events from AddEvent. Supports pagination with limit and page parameters, and optional filtering by category ID.

Operation
Read read
Schema command
kosmo integrations:schema addevent.addevent_list_events --json
ParameterTypeRequiredDescription
limit integer no Number of events per page (default: 50, max: 100).
page integer no Page number for pagination (1-indexed, default: 1).
category integer no Filter events by category ID. Use addevent_list_categories to find available categories.

addevent.addevent_get_event

Get details for a specific AddEvent calendar event by ID.

Operation
Read read
Schema command
kosmo integrations:schema addevent.addevent_get_event --json
ParameterTypeRequiredDescription
id integer yes The event ID.

addevent.addevent_create_event

Create a new calendar event in AddEvent. Requires a title, start date, and end date. Optionally add a location, description, and category.

Operation
Write write
Schema command
kosmo integrations:schema addevent.addevent_create_event --json
ParameterTypeRequiredDescription
title string yes Event title.
start_date string yes Event start date/time (e.g., "2026-04-10T09:00:00").
end_date string yes Event end date/time (e.g., "2026-04-10T10:00:00").
location string no Event location (e.g., "Conference Room A, 123 Main St").
description string no Event description with details about the event.
category_id integer no Category ID to assign the event to. Use addevent_list_categories to find available categories.

addevent.addevent_list_categories

List all event categories in AddEvent. Use category IDs to organize and filter events.

Operation
Read read
Schema command
kosmo integrations:schema addevent.addevent_list_categories --json
ParameterTypeRequiredDescription
No parameters.

addevent.addevent_list_groups

List event groups from AddEvent. Groups are collections of related events. Supports pagination with limit and page parameters.

Operation
Read read
Schema command
kosmo integrations:schema addevent.addevent_list_groups --json
ParameterTypeRequiredDescription
limit integer no Number of groups per page (default: 50, max: 100).
page integer no Page number for pagination (1-indexed, default: 1).

addevent.addevent_get_group

Get details for a specific AddEvent event group by ID.

Operation
Read read
Schema command
kosmo integrations:schema addevent.addevent_get_group --json
ParameterTypeRequiredDescription
id integer yes The group ID.

addevent.addevent_get_current_user

Get the profile of the currently authenticated AddEvent user. Useful for verifying credentials and displaying account information.

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