productivity
AddEvent CLI for Cron Jobs
Use the AddEvent CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write Bearer token auth
AddEvent CLI for Cron Jobs
Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.
Use the headless CLI from cron when an operation should run without an interactive agent session. The AddEvent CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# AddEvent CLI for Cron Jobs
kosmokrator integrations:configure addevent --set access_token="$ADDEVENT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call addevent.addevent_list_events '{"limit":1,"page":1,"category":1}' --json Discovery Before Execution
Agents and scripts can inspect AddEvent docs and schemas 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 Useful AddEvent CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
addevent.addevent_list_events | Read | limit, page, category | List calendar events from AddEvent. Supports pagination with limit and page parameters, and optional filtering by category ID. |
addevent.addevent_get_event | Read | id | Get details for a specific AddEvent calendar event by ID. |
addevent.addevent_create_event | Write | title, start_date, end_date, location, description, category_id | Create a new calendar event in AddEvent. Requires a title, start date, and end date. Optionally add a location, description, and category. |
addevent.addevent_list_categories | Read | none | List all event categories in AddEvent. Use category IDs to organize and filter events. |
addevent.addevent_list_groups | Read | limit, page | List event groups from AddEvent. Groups are collections of related events. Supports pagination with limit and page parameters. |
addevent.addevent_get_group | Read | id | Get details for a specific AddEvent event group by ID. |
addevent.addevent_get_current_user | Read | none | Get the profile of the currently authenticated AddEvent user. Useful for verifying credentials and displaying account information. |
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.