wave_create_block
Create a new terminal, preview, web, sysinfo, or launcher block in a Wave Terminal tab, then confirm with approved=true to execute. Requires the Seashell Helper block.
Instructions
Create a new block in Wave Terminal. 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 | |
| url | No | URL to open (for web blocks) | |
| file | No | File path to open (for preview blocks) | |
| view | Yes | Block type: term, preview, web, sysinfo, launcher | |
| tab_id | Yes | Tab ID where the block will be created | |
| command | No | Command to run (for term blocks) | |
| approved | No | Set to true to confirm and execute | |
| run_on_start | No | Auto-run command when block opens | |
| close_on_exit | No | Close block when command exits |