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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tab_id": "<tab_id>",
"view": "<view>"
},
"name": "wave_create_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 |