run pre-installed. It calls the tools of your connected integrations from the shell, connects new ones, and runs and operates automations. There is nothing to install, start or log in to.
run is not available on isolated machines (boxd machine new --isolated), which have no integrations at all.Start here: what’s enabled
Barerun shows the integrations enabled for your organization and whether each is connected for you:
Discover tools
Integration and tool names are per organization and change over time, so look them up instead of guessing:run list marks integrations other members of your org already use with a ★ and shows the first 40 of the rest, with a trailer pointing at run list --all and run search. Names are the integration’s id in kebab-case (google-maps, microsoft-teams, googlesheets). An underscore spelling is accepted and redirected.
A few integrations serve their tools live from the connection instead of from a fixed list (Granola, for example). run <integration> on one of those prints <integration> - N tools (served live by the connection) and the tools are called the same way.
Call a tool
--json. Parameters:
- Flags are the parameter names in kebab-case:
issue_idbecomes--issue-id. - Object and array parameters take a JSON string:
--labels '["p1","bug"]'. - Boolean parameters are bare flags:
--force. Omitting one sends nothing. - Enumerated parameters are validated and listed in
--help. - Required parameters are shown without brackets in
--help. A missing one is reported before anything is sent.
run: <command> failed: <reason> and exits non-zero.
Connections and scopes
run auth waits up to three minutes and then reminds you the connection takes effect on its own once you finish. To disconnect, use the console’s Integrations page or run boxd manage integrations disconnect <name>, with --scope <name> for a shared connection.
Calls use your personal connection unless you say otherwise:
run github-app prints what it offers, and run github-app get-token mints a short-lived installation token. See the GitHub App.
Scripts and jobs
a3f01: stopped - \run my-script.run.ts` or `run restart a3f01` starts it again, a3f01: restarted - `run logs a3f01 -f` to follow, a3f01: removed`.
A script that registers no trigger or schedule runs in the foreground and returns. One that does is moved to the background once its top level settles:
Global flags
Shell completion
run completes integration names, tool names and flags dynamically, and *.run.ts paths. Add to your shell profile inside the machine: