KosmoKrator

productivity

RunPod CLI for AI Agents

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

7 functions 7 read 0 write Bearer token auth

RunPod CLI Setup

RunPod can be configured headlessly with `kosmokrator integrations:configure runpod`.

# 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 runpod --set access_token="$RUNPOD_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor runpod --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 RUNPOD_ACCESS_TOKEN Secret secret yes API Key
url RUNPOD_URL URL url no API Base URL

Call RunPod Headlessly

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

kosmo integrations:call runpod.runpod_list_pods '{}' --json

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

kosmo integrations:runpod runpod_list_pods '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs runpod --json
kosmo integrations:docs runpod.runpod_list_pods --json
kosmo integrations:schema runpod.runpod_list_pods --json
kosmo integrations:search "RunPod" --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 RunPod.

runpod.runpod_list_pods

Read read

List all GPU pods in your RunPod account. Returns pod IDs, names, status, GPU types, and runtime details.

Parameters
none

Generic CLI call

kosmo integrations:call runpod.runpod_list_pods '{}' --json

Provider shortcut

kosmo integrations:runpod runpod_list_pods '{}' --json

runpod.runpod_get_pod

Read read

Get detailed information about a specific RunPod GPU pod, including its status, GPU type, runtime, ports, and configuration. Use the pod ID obtained from runpod_list_pods.

Parameters
pod_id

Generic CLI call

kosmo integrations:call runpod.runpod_get_pod '{"pod_id":"example_pod_id"}' --json

Provider shortcut

kosmo integrations:runpod runpod_get_pod '{"pod_id":"example_pod_id"}' --json

runpod.runpod_list_templates

Read read

List all available RunPod templates. Returns template IDs, names, images, and machine configurations.

Parameters
none

Generic CLI call

kosmo integrations:call runpod.runpod_list_templates '{}' --json

Provider shortcut

kosmo integrations:runpod runpod_list_templates '{}' --json

runpod.runpod_list_network_volumes

Read read

List all network volumes in your RunPod account. Returns volume IDs, names, sizes, and data center information.

Parameters
none

Generic CLI call

kosmo integrations:call runpod.runpod_list_network_volumes '{}' --json

Provider shortcut

kosmo integrations:runpod runpod_list_network_volumes '{}' --json

runpod.runpod_list_endpoints

Read read

List all RunPod endpoints. Returns endpoint IDs, names, statuses, and configuration details.

Parameters
none

Generic CLI call

kosmo integrations:call runpod.runpod_list_endpoints '{}' --json

Provider shortcut

kosmo integrations:runpod runpod_list_endpoints '{}' --json

runpod.runpod_list_serverless

Read read

List all serverless endpoints in your RunPod account. Returns endpoint IDs, names, statuses, and worker configurations.

Parameters
none

Generic CLI call

kosmo integrations:call runpod.runpod_list_serverless '{}' --json

Provider shortcut

kosmo integrations:runpod runpod_list_serverless '{}' --json

runpod.runpod_get_current_user

Read read

Get the profile of the currently authenticated RunPod user, including name, email, and account details.

Parameters
none

Generic CLI call

kosmo integrations:call runpod.runpod_get_current_user '{}' --json

Provider shortcut

kosmo integrations:runpod runpod_get_current_user '{}' --json

Function Schemas

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

runpod.runpod_list_pods

List all GPU pods in your RunPod account. Returns pod IDs, names, status, GPU types, and runtime details.

Operation
Read read
Schema command
kosmo integrations:schema runpod.runpod_list_pods --json
ParameterTypeRequiredDescription
No parameters.

runpod.runpod_get_pod

Get detailed information about a specific RunPod GPU pod, including its status, GPU type, runtime, ports, and configuration. Use the pod ID obtained from runpod_list_pods.

Operation
Read read
Schema command
kosmo integrations:schema runpod.runpod_get_pod --json
ParameterTypeRequiredDescription
pod_id string yes The RunPod pod ID.

runpod.runpod_list_templates

List all available RunPod templates. Returns template IDs, names, images, and machine configurations.

Operation
Read read
Schema command
kosmo integrations:schema runpod.runpod_list_templates --json
ParameterTypeRequiredDescription
No parameters.

runpod.runpod_list_network_volumes

List all network volumes in your RunPod account. Returns volume IDs, names, sizes, and data center information.

Operation
Read read
Schema command
kosmo integrations:schema runpod.runpod_list_network_volumes --json
ParameterTypeRequiredDescription
No parameters.

runpod.runpod_list_endpoints

List all RunPod endpoints. Returns endpoint IDs, names, statuses, and configuration details.

Operation
Read read
Schema command
kosmo integrations:schema runpod.runpod_list_endpoints --json
ParameterTypeRequiredDescription
No parameters.

runpod.runpod_list_serverless

List all serverless endpoints in your RunPod account. Returns endpoint IDs, names, statuses, and worker configurations.

Operation
Read read
Schema command
kosmo integrations:schema runpod.runpod_list_serverless --json
ParameterTypeRequiredDescription
No parameters.

runpod.runpod_get_current_user

Get the profile of the currently authenticated RunPod user, including name, email, and account details.

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