KosmoKrator

productivity

Bugsnag CLI for Headless Automation

Use the Bugsnag CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write API token auth

Bugsnag CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Bugsnag CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Bugsnag CLI for Headless Automation
kosmokrator integrations:configure bugsnag --set api_token="$BUGSNAG_API_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call bugsnag.bugsnag_list_projects '{"limit":1,"offset":1,"q":"example_q"}' --json

Discovery Before Execution

Agents and scripts can inspect Bugsnag docs and schemas before choosing a function.

kosmo integrations:docs bugsnag --json
kosmo integrations:docs bugsnag.bugsnag_list_projects --json
kosmo integrations:schema bugsnag.bugsnag_list_projects --json
kosmo integrations:search "Bugsnag" --json
kosmo integrations:list --json

Useful Bugsnag CLI Functions

FunctionTypeParametersDescription
bugsnag.bugsnag_list_projects Read limit, offset, q List Bugsnag projects visible to the authenticated user. Returns project names and IDs that can be used with other tools.
bugsnag.bugsnag_get_project Read id Get details for a single Bugsnag project, including its name, API key, type, and error counts.
bugsnag.bugsnag_list_errors Read project_id, limit, offset, severity, status, sort List errors for a Bugsnag project. Supports filtering by severity and status, and sorting by various fields.
bugsnag.bugsnag_get_error Read id Get details for a specific Bugsnag error, including its message, severity, context, and stack trace.
bugsnag.bugsnag_list_events Read project_id, limit, offset, error_id List events (individual error occurrences) for a Bugsnag project. Optionally filter by a specific error.
bugsnag.bugsnag_list_collaborators Read org_id, limit, offset List collaborators (team members) for a Bugsnag organization.
bugsnag.bugsnag_get_current_user Read none Get the currently authenticated Bugsnag user, including name, email, and associated organizations.

Automation Notes

Related Bugsnag CLI Pages