productivity
Linode CLI for CI
Use the Linode CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Linode CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. The Linode CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Linode CLI for CI
kosmokrator integrations:configure linode --set access_token="$LINODE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call linode.linode_list_instances '{"page":1,"per_page":1}' --json Discovery Before Execution
Agents and scripts can inspect Linode docs and schemas 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 Useful Linode CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
linode.linode_list_instances | Read | page, per_page | List all Linode instances (virtual machines) in the account. Returns IDs, labels, status, type, region, and IP addresses. |
linode.linode_get_instance | Read | id | Get details for a specific Linode instance by ID. Returns full instance information including specs, networking, and disk config. |
linode.linode_list_volumes | Read | page, per_page | List all block storage volumes in the Linode account. Returns IDs, labels, size, status, and attached Linode info. |
linode.linode_list_domains | Read | page, per_page | List all DNS domains managed in the Linode account. Returns domain IDs, names, status, and SOA records. |
linode.linode_get_domain | Read | id | Get details for a specific DNS domain in Linode, including SOA records, status, and zone information. |
linode.linode_list_stackscripts | Read | page, per_page | List all StackScripts (reusable deployment scripts) in the Linode account. Returns IDs, labels, descriptions, and deployment counts. |
linode.linode_get_current_user | Read | none | Get information about the current authenticated Linode user, including username, email, and account status. |
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.