wave_run_in_block
Run a command in a new Wave Terminal block by tab ID, with first-call confirmation and approved=true to execute. Supports working directory, environment variables, and optional close-on-exit.
Instructions
Run a command in a new Wave Terminal block. First call returns a confirmation; pass approved=true to execute. Requires the Seashell Helper block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the command | |
| env | No | Environment variables to inject | |
| tab_id | Yes | Tab ID where the new block will be created | |
| command | Yes | Command to execute in the new block | |
| approved | No | Set to true to confirm and execute | |
| close_on_exit | No | Close the block when the command exits (default: false) |