video
Loom CLI for Headless Automation
Use the Loom CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
8 functions 6 read 2 write Bearer token auth
Loom 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 Loom CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Loom CLI for Headless Automation
kosmokrator integrations:configure loom --set access_token="$LOOM_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call loom.loom_list_videos '{"limit":1,"page":1}' --json Discovery Before Execution
Agents and scripts can inspect Loom docs and schemas before choosing a function.
kosmo integrations:docs loom --json
kosmo integrations:docs loom.loom_list_videos --json
kosmo integrations:schema loom.loom_list_videos --json
kosmo integrations:search "Loom" --json
kosmo integrations:list --json Useful Loom CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
loom.loom_list_videos | Read | limit, page | List Loom videos. Returns video titles, IDs, durations, URLs, and creation dates. Use limit and page for pagination. |
loom.loom_get_video | Read | video_id | Get detailed information about a specific Loom video by its ID, including playback URL, duration, thumbnail, and metadata. |
loom.loom_create_video | Write | title, description | Create a new Loom video with a title and optional description. Returns the video details and upload URLs. |
loom.loom_delete_video | Write | video_id | Delete a Loom video permanently. This action cannot be undone. |
loom.loom_list_workspaces | Read | none | List all Loom workspaces accessible to the authenticated user, including workspace names and member information. |
loom.loom_list_folders | Read | limit, page | List Loom folders. Returns folder names, IDs, and video counts. Use limit and page for pagination. |
loom.loom_get_folder | Read | folder_id | Get detailed information about a specific Loom folder by its ID, including name, video count, and hierarchy. |
loom.loom_get_current_user | Read | none | Get the authenticated Loom user's profile information, including name, email, and account details. |
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.