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.

7 functions 7 read 0 write Bearer token auth

Rollbar CLI Setup

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

# 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 use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token ROLLBAR_ACCESS_TOKEN Secret secret yes Access Token

Call Rollbar Headlessly

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

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

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

kosmo integrations:rollbar rollbar_list_projects '{
  "limit": 1,
  "offset": 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 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

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

rollbar.rollbar_list_projects

Read read

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

Parameters
limit, offset

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

rollbar.rollbar_get_project

Read read

Get details for a specific Rollbar project by its ID.

Parameters
id

Generic CLI call

kosmo integrations:call rollbar.rollbar_get_project '{"id":1}' --json

Provider shortcut

kosmo integrations:rollbar rollbar_get_project '{"id":1}' --json

rollbar.rollbar_list_items

Read read

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

Parameters
project_id, limit, offset, level, status, environment

Generic CLI 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

Provider 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

Read read

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

Parameters
id

Generic CLI call

kosmo integrations:call rollbar.rollbar_get_item '{"id":1}' --json

Provider shortcut

kosmo integrations:rollbar rollbar_get_item '{"id":1}' --json

rollbar.rollbar_list_deploys

Read read

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

Parameters
environment, limit, page

Generic CLI call

kosmo integrations:call rollbar.rollbar_list_deploys '{"environment":"example_environment","limit":1,"page":1}' --json

Provider shortcut

kosmo integrations:rollbar rollbar_list_deploys '{"environment":"example_environment","limit":1,"page":1}' --json

rollbar.rollbar_list_teams

Read read

List all teams in your Rollbar account.

Parameters
limit, offset

Generic CLI call

kosmo integrations:call rollbar.rollbar_list_teams '{"limit":1,"offset":1}' --json

Provider shortcut

kosmo integrations:rollbar rollbar_list_teams '{"limit":1,"offset":1}' --json

rollbar.rollbar_get_current_user

Read read

Get details about the currently authenticated Rollbar user.

Parameters
none

Generic CLI call

kosmo integrations:call rollbar.rollbar_get_current_user '{}' --json

Provider 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

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

Operation
Read read
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

Get details for a specific Rollbar project by its ID.

Operation
Read read
Schema command
kosmo integrations:schema rollbar.rollbar_get_project --json
ParameterTypeRequiredDescription
id integer yes The project ID.

rollbar.rollbar_list_items

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

Operation
Read read
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

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

Operation
Read read
Schema command
kosmo integrations:schema rollbar.rollbar_get_item --json
ParameterTypeRequiredDescription
id integer yes The item (counter) ID.

rollbar.rollbar_list_deploys

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

Operation
Read read
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

List all teams in your Rollbar account.

Operation
Read read
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

Get details about the currently authenticated Rollbar user.

Operation
Read read
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.