run_sequence
Execute multiple shell commands in sequence, capturing variables from previous steps for use in later commands. Set working directory, per-command timeout, and stop-on-error.
Instructions
Execute multiple shell commands in sequence. Supports variable capture ($PREV, $STEP{n}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory (default: home) | |
| commands | Yes | List of commands to execute in order | |
| timeout_ms | No | Per-command timeout in ms (default 30000) | |
| stop_on_error | No | If true (default), stops when a command fails. |