KosmoKrator

video

Loom CLI for Shell Scripts

Use the Loom CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

8 functions 6 read 2 write Bearer token auth

Loom 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 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 Shell Scripts
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

FunctionTypeParametersDescription
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

Related Loom CLI Pages