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.
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>",
"command": "<command>"
},
"name": "wave_run_in_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) |