communication
Daily.co CLI for Shell Scripts
Use the Daily.co CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 5 read 2 write API key auth
Daily.co CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The Daily.co CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Daily.co CLI for Shell Scripts
kosmokrator integrations:configure daily-co --set api_key="$DAILY_CO_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call daily-co.daily_co_list_rooms '{"limit":1,"ending_before":"example_ending_before","starting_after":"example_starting_after"}' --json Discovery Before Execution
Agents and scripts can inspect Daily.co docs and schemas before choosing a function.
kosmo integrations:docs daily-co --json
kosmo integrations:docs daily-co.daily_co_list_rooms --json
kosmo integrations:schema daily-co.daily_co_list_rooms --json
kosmo integrations:search "Daily.co" --json
kosmo integrations:list --json Useful Daily.co CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
daily-co.daily_co_list_rooms | Read | limit, ending_before, starting_after | List video rooms from Daily.co. Returns a paginated list of rooms with their names, URLs, privacy settings, and creation dates. |
daily-co.daily_co_get_room | Read | name | Get details of a specific Daily.co room by name, including its URL, privacy setting, configuration properties, and participant limits. |
daily-co.daily_co_create_room | Write | name, privacy, properties | Create a new Daily.co video room. Specify a room name and optional properties like privacy mode, max participants, and recording settings. |
daily-co.daily_co_delete_room | Write | name | Delete a Daily.co video room by name. This permanently removes the room and it cannot be rejoined. |
daily-co.daily_co_list_meetings | Read | room, limit, starting_after, ending_before | List meetings from Daily.co with optional filters. Supports filtering by room, time range, and cursor-based pagination. |
daily-co.daily_co_get_meeting | Read | meeting_id | Get details of a specific Daily.co meeting by ID, including participant information, duration, and session data. |
daily-co.daily_co_list_recordings | Read | room, limit, starting_after, ending_before | List recordings from Daily.co with optional filters. Supports filtering by room, time range, and cursor-based pagination. |
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.