KosmoKrator

productivity

Rollbar CLI for AI Agents

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

Rollbar CLI Setup

Rollbar can be configured headlessly with `kosmokrator integrations:configure rollbar`.

Install, configure, and verify
# 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 rollbar --set access_token="$ROLLBAR_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor rollbar --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
access_token ROLLBAR_ACCESS_TOKEN Secret secret yes Access Token

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call rollbar.rollbar_list_projects '{"limit":1,"offset":1}' --json
Provider shortcut
kosmo integrations:rollbar rollbar_list_projects '{"limit":1,"offset":1}' --json

Discovery

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

Discovery commands
kosmo integrations:docs rollbar --json
kosmo integrations:docs rollbar.rollbar_list_projects --json
kosmo integrations:schema rollbar.rollbar_list_projects --json
kosmo integrations:search "Rollbar" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

rollbar.rollbar_list_projects

List all projects in your Rollbar account. Returns project IDs, names, and status information.

Read read
Parameters
limit, offset
Generic call
kosmo integrations:call rollbar.rollbar_list_projects '{"limit":1,"offset":1}' --json
Shortcut
kosmo integrations:rollbar rollbar_list_projects '{"limit":1,"offset":1}' --json

rollbar.rollbar_get_project

Get details for a specific Rollbar project by its ID.

Read read
Parameters
id
Generic call
kosmo integrations:call rollbar.rollbar_get_project '{"id":1}' --json
Shortcut
kosmo integrations:rollbar rollbar_get_project '{"id":1}' --json

rollbar.rollbar_list_items

List error items in Rollbar with optional filters for project, level, status, and environment.

Read read
Parameters
project_id, limit, offset, level, status, environment
Generic call
kosmo integrations:call rollbar.rollbar_list_items '{"project_id":1,"limit":1,"offset":1,"level":"example_level","status":"example_status","environment":"example_environment"}' --json
Shortcut
kosmo integrations:rollbar rollbar_list_items '{"project_id":1,"limit":1,"offset":1,"level":"example_level","status":"example_status","environment":"example_environment"}' --json

rollbar.rollbar_get_item

Get details for a specific Rollbar error item by its ID.

Read read
Parameters
id
Generic call
kosmo integrations:call rollbar.rollbar_get_item '{"id":1}' --json
Shortcut
kosmo integrations:rollbar rollbar_get_item '{"id":1}' --json

rollbar.rollbar_list_deploys

List recent deploys across your Rollbar account, optionally filtered by environment.

Read read
Parameters
environment, limit, page
Generic call
kosmo integrations:call rollbar.rollbar_list_deploys '{"environment":"example_environment","limit":1,"page":1}' --json
Shortcut
kosmo integrations:rollbar rollbar_list_deploys '{"environment":"example_environment","limit":1,"page":1}' --json

rollbar.rollbar_list_teams

List all teams in your Rollbar account.

Read read
Parameters
limit, offset
Generic call
kosmo integrations:call rollbar.rollbar_list_teams '{"limit":1,"offset":1}' --json
Shortcut
kosmo integrations:rollbar rollbar_list_teams '{"limit":1,"offset":1}' --json

rollbar.rollbar_get_current_user

Get details about the currently authenticated Rollbar user.

Read read
Parameters
none
Generic call
kosmo integrations:call rollbar.rollbar_get_current_user '{}' --json
Shortcut
kosmo integrations:rollbar rollbar_get_current_user '{}' --json

Function Schemas

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

rollbar.rollbar_list_projects 2 parameters
Schema command
kosmo integrations:schema rollbar.rollbar_list_projects --json
ParameterTypeRequiredDescription
limit integer no Maximum number of projects to return (default: 20).
offset integer no Offset for pagination (default: 0).
rollbar.rollbar_get_project 1 parameters
Schema command
kosmo integrations:schema rollbar.rollbar_get_project --json
ParameterTypeRequiredDescription
id integer yes The project ID.
rollbar.rollbar_list_items 6 parameters
Schema command
kosmo integrations:schema rollbar.rollbar_list_items --json
ParameterTypeRequiredDescription
project_id integer no Filter by project ID.
limit integer no Maximum number of items to return (default: 20).
offset integer no Offset for pagination (default: 0).
level string no Filter by level: debug, info, warning, error, critical.
status string no Filter by status: active, resolved, muted.
environment string no Filter by environment name (e.g., production, staging).
rollbar.rollbar_get_item 1 parameters
Schema command
kosmo integrations:schema rollbar.rollbar_get_item --json
ParameterTypeRequiredDescription
id integer yes The item (counter) ID.
rollbar.rollbar_list_deploys 3 parameters
Schema command
kosmo integrations:schema rollbar.rollbar_list_deploys --json
ParameterTypeRequiredDescription
environment string no Filter by environment name (e.g., production, staging).
limit integer no Maximum number of deploys to return (default: 20).
page integer no Page number for pagination (default: 1).
rollbar.rollbar_list_teams 2 parameters
Schema command
kosmo integrations:schema rollbar.rollbar_list_teams --json
ParameterTypeRequiredDescription
limit integer no Maximum number of teams to return (default: 20).
offset integer no Offset for pagination (default: 0).
rollbar.rollbar_get_current_user 0 parameters
Schema command
kosmo integrations:schema rollbar.rollbar_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.