productivity
Rollbar CLI for Shell Scripts
Use the Rollbar CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Rollbar CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The Rollbar CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Rollbar CLI for Shell Scripts
kosmokrator integrations:configure rollbar --set access_token="$ROLLBAR_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call rollbar.rollbar_list_projects '{"limit":1,"offset":1}' --json Discovery Before Execution
Agents and scripts can inspect Rollbar docs and schemas 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 Useful Rollbar CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
rollbar.rollbar_list_projects | Read | limit, offset | List all projects in your Rollbar account. Returns project IDs, names, and status information. |
rollbar.rollbar_get_project | Read | id | Get details for a specific Rollbar project by its ID. |
rollbar.rollbar_list_items | Read | project_id, limit, offset, level, status, environment | List error items in Rollbar with optional filters for project, level, status, and environment. |
rollbar.rollbar_get_item | Read | id | Get details for a specific Rollbar error item by its ID. |
rollbar.rollbar_list_deploys | Read | environment, limit, page | List recent deploys across your Rollbar account, optionally filtered by environment. |
rollbar.rollbar_list_teams | Read | limit, offset | List all teams in your Rollbar account. |
rollbar.rollbar_get_current_user | Read | none | Get details about the currently authenticated Rollbar user. |
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.