Actions13
Run Shell
AI-generatedSummary
Runs a shell command in the specified OpenCode session, using the selected agent (default build).
Inputs
- Session ID (required) — Identifies the session where the command will run.
- Command (required) — Shell command to execute.
- Agent — Agent to run the command; defaults to
build.
Output shape
One or more items containing the shell endpoint's response.
Array responses are emitted as separate n8n items; a non-array response becomes one item. If Continue On Fail is enabled, errors are returned as an item with an
errorfield.