KosmoKrator

productivity

Linode CLI for AI Agents

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

7 functions 7 read 0 write Bearer token auth

Linode CLI Setup

Linode can be configured headlessly with `kosmokrator integrations:configure linode`.

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

Call Linode Headlessly

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

kosmo integrations:call linode.linode_list_instances '{
  "page": 1,
  "per_page": 1
}' --json

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

kosmo integrations:linode linode_list_instances '{
  "page": 1,
  "per_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 linode --json
kosmo integrations:docs linode.linode_list_instances --json
kosmo integrations:schema linode.linode_list_instances --json
kosmo integrations:search "Linode" --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 Linode.

linode.linode_list_instances

Read read

List all Linode instances (virtual machines) in the account. Returns IDs, labels, status, type, region, and IP addresses.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call linode.linode_list_instances '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:linode linode_list_instances '{"page":1,"per_page":1}' --json

linode.linode_get_instance

Read read

Get details for a specific Linode instance by ID. Returns full instance information including specs, networking, and disk config.

Parameters
id

Generic CLI call

kosmo integrations:call linode.linode_get_instance '{"id":1}' --json

Provider shortcut

kosmo integrations:linode linode_get_instance '{"id":1}' --json

linode.linode_list_volumes

Read read

List all block storage volumes in the Linode account. Returns IDs, labels, size, status, and attached Linode info.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call linode.linode_list_volumes '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:linode linode_list_volumes '{"page":1,"per_page":1}' --json

linode.linode_list_domains

Read read

List all DNS domains managed in the Linode account. Returns domain IDs, names, status, and SOA records.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call linode.linode_list_domains '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:linode linode_list_domains '{"page":1,"per_page":1}' --json

linode.linode_get_domain

Read read

Get details for a specific DNS domain in Linode, including SOA records, status, and zone information.

Parameters
id

Generic CLI call

kosmo integrations:call linode.linode_get_domain '{"id":1}' --json

Provider shortcut

kosmo integrations:linode linode_get_domain '{"id":1}' --json

linode.linode_list_stackscripts

Read read

List all StackScripts (reusable deployment scripts) in the Linode account. Returns IDs, labels, descriptions, and deployment counts.

Parameters
page, per_page

Generic CLI call

kosmo integrations:call linode.linode_list_stackscripts '{"page":1,"per_page":1}' --json

Provider shortcut

kosmo integrations:linode linode_list_stackscripts '{"page":1,"per_page":1}' --json

linode.linode_get_current_user

Read read

Get information about the current authenticated Linode user, including username, email, and account status.

Parameters
none

Generic CLI call

kosmo integrations:call linode.linode_get_current_user '{}' --json

Provider shortcut

kosmo integrations:linode linode_get_current_user '{}' --json

Function Schemas

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

linode.linode_list_instances

List all Linode instances (virtual machines) in the account. Returns IDs, labels, status, type, region, and IP addresses.

Operation
Read read
Schema command
kosmo integrations:schema linode.linode_list_instances --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of instances per page (default: 100, max: 500).

linode.linode_get_instance

Get details for a specific Linode instance by ID. Returns full instance information including specs, networking, and disk config.

Operation
Read read
Schema command
kosmo integrations:schema linode.linode_get_instance --json
ParameterTypeRequiredDescription
id integer yes The Linode instance ID.

linode.linode_list_volumes

List all block storage volumes in the Linode account. Returns IDs, labels, size, status, and attached Linode info.

Operation
Read read
Schema command
kosmo integrations:schema linode.linode_list_volumes --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of volumes per page (default: 100).

linode.linode_list_domains

List all DNS domains managed in the Linode account. Returns domain IDs, names, status, and SOA records.

Operation
Read read
Schema command
kosmo integrations:schema linode.linode_list_domains --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of domains per page (default: 100).

linode.linode_get_domain

Get details for a specific DNS domain in Linode, including SOA records, status, and zone information.

Operation
Read read
Schema command
kosmo integrations:schema linode.linode_get_domain --json
ParameterTypeRequiredDescription
id integer yes The domain ID.

linode.linode_list_stackscripts

List all StackScripts (reusable deployment scripts) in the Linode account. Returns IDs, labels, descriptions, and deployment counts.

Operation
Read read
Schema command
kosmo integrations:schema linode.linode_list_stackscripts --json
ParameterTypeRequiredDescription
page integer no Page number for pagination (default: 1).
per_page integer no Number of StackScripts per page (default: 100).

linode.linode_get_current_user

Get information about the current authenticated Linode user, including username, email, and account status.

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