KosmoKrator

video

Loom CLI for AI Agents

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

8 functions 6 read 2 write Bearer token auth

Loom CLI Setup

Loom can be configured headlessly with `kosmokrator integrations:configure loom`.

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

Call Loom Headlessly

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

kosmo integrations:call loom.loom_list_videos '{
  "limit": 1,
  "page": 1
}' --json

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

kosmo integrations:loom loom_list_videos '{
  "limit": 1,
  "page": 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 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

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 Loom.

loom.loom_list_videos

Read read

List Loom videos. Returns video titles, IDs, durations, URLs, and creation dates. Use limit and page for pagination.

Parameters
limit, page

Generic CLI call

kosmo integrations:call loom.loom_list_videos '{"limit":1,"page":1}' --json

Provider shortcut

kosmo integrations:loom loom_list_videos '{"limit":1,"page":1}' --json

loom.loom_get_video

Read read

Get detailed information about a specific Loom video by its ID, including playback URL, duration, thumbnail, and metadata.

Parameters
video_id

Generic CLI call

kosmo integrations:call loom.loom_get_video '{"video_id":"example_video_id"}' --json

Provider shortcut

kosmo integrations:loom loom_get_video '{"video_id":"example_video_id"}' --json

loom.loom_create_video

Write write

Create a new Loom video with a title and optional description. Returns the video details and upload URLs.

Parameters
title, description

Generic CLI call

kosmo integrations:call loom.loom_create_video '{"title":"example_title","description":"example_description"}' --json

Provider shortcut

kosmo integrations:loom loom_create_video '{"title":"example_title","description":"example_description"}' --json

loom.loom_delete_video

Write write

Delete a Loom video permanently. This action cannot be undone.

Parameters
video_id

Generic CLI call

kosmo integrations:call loom.loom_delete_video '{"video_id":"example_video_id"}' --json

Provider shortcut

kosmo integrations:loom loom_delete_video '{"video_id":"example_video_id"}' --json

loom.loom_list_workspaces

Read read

List all Loom workspaces accessible to the authenticated user, including workspace names and member information.

Parameters
none

Generic CLI call

kosmo integrations:call loom.loom_list_workspaces '{}' --json

Provider shortcut

kosmo integrations:loom loom_list_workspaces '{}' --json

loom.loom_list_folders

Read read

List Loom folders. Returns folder names, IDs, and video counts. Use limit and page for pagination.

Parameters
limit, page

Generic CLI call

kosmo integrations:call loom.loom_list_folders '{"limit":1,"page":1}' --json

Provider shortcut

kosmo integrations:loom loom_list_folders '{"limit":1,"page":1}' --json

loom.loom_get_folder

Read read

Get detailed information about a specific Loom folder by its ID, including name, video count, and hierarchy.

Parameters
folder_id

Generic CLI call

kosmo integrations:call loom.loom_get_folder '{"folder_id":"example_folder_id"}' --json

Provider shortcut

kosmo integrations:loom loom_get_folder '{"folder_id":"example_folder_id"}' --json

loom.loom_get_current_user

Read read

Get the authenticated Loom user's profile information, including name, email, and account details.

Parameters
none

Generic CLI call

kosmo integrations:call loom.loom_get_current_user '{}' --json

Provider shortcut

kosmo integrations:loom loom_get_current_user '{}' --json

Function Schemas

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

loom.loom_list_videos

List Loom videos. Returns video titles, IDs, durations, URLs, and creation dates. Use limit and page for pagination.

Operation
Read read
Schema command
kosmo integrations:schema loom.loom_list_videos --json
ParameterTypeRequiredDescription
limit integer no Maximum number of videos to return (default: 20, max: 50).
page integer no Page number for pagination (default: 1).

loom.loom_get_video

Get detailed information about a specific Loom video by its ID, including playback URL, duration, thumbnail, and metadata.

Operation
Read read
Schema command
kosmo integrations:schema loom.loom_get_video --json
ParameterTypeRequiredDescription
video_id string yes The unique identifier of the Loom video.

loom.loom_create_video

Create a new Loom video with a title and optional description. Returns the video details and upload URLs.

Operation
Write write
Schema command
kosmo integrations:schema loom.loom_create_video --json
ParameterTypeRequiredDescription
title string yes The title of the video.
description string no An optional description for the video.

loom.loom_delete_video

Delete a Loom video permanently. This action cannot be undone.

Operation
Write write
Schema command
kosmo integrations:schema loom.loom_delete_video --json
ParameterTypeRequiredDescription
video_id string yes The unique identifier of the Loom video to delete.

loom.loom_list_workspaces

List all Loom workspaces accessible to the authenticated user, including workspace names and member information.

Operation
Read read
Schema command
kosmo integrations:schema loom.loom_list_workspaces --json
ParameterTypeRequiredDescription
No parameters.

loom.loom_list_folders

List Loom folders. Returns folder names, IDs, and video counts. Use limit and page for pagination.

Operation
Read read
Schema command
kosmo integrations:schema loom.loom_list_folders --json
ParameterTypeRequiredDescription
limit integer no Maximum number of folders to return (default: 20).
page integer no Page number for pagination (default: 1).

loom.loom_get_folder

Get detailed information about a specific Loom folder by its ID, including name, video count, and hierarchy.

Operation
Read read
Schema command
kosmo integrations:schema loom.loom_get_folder --json
ParameterTypeRequiredDescription
folder_id string yes The unique identifier of the Loom folder.

loom.loom_get_current_user

Get the authenticated Loom user's profile information, including name, email, and account details.

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