run_workflow
Execute an OpenBaud device workflow to run steps in order on one session, override command defaults, skip remaining steps on failure, attempt finally steps, and return ok/skipped results.
Instructions
Execute a workflow from devices//workflows/: its steps run in order on one session (step params override command defaults); the first failing step skips the rest, then every finally step is attempted regardless. Returns {ok, steps, finally, skipped}; ok=false is an error carrying the full result JSON. Workflow risk is the maximum of its commands' risk — danger requires acknowledge_risk=true. Session resolution is the same as run_command (session_id, port, or profile selector).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Optional when session_id is given or the device profile has a selector | |
| device | Yes | ||
| workflow | Yes | ||
| session_id | No | ||
| acknowledge_risk | No | ||
| max_inline_bytes | No | Result JSONs longer than this many bytes are written in full to .openbaud/out/ and returned as a summary carrying a full_result path — keeps huge payloads out of your context. Raise it to force large results inline. |