pane_wait_output
Blocks until a pane's output contains a literal substring or Rust regex match, timing out after a set limit. Use it to wait for prompts, command results, or agent completion.
Instructions
Block until pane output contains a literal substring (match) or a Rust regex (regex). Output that already exists matches immediately.
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": {
"pane_id": "<pane_id>"
},
"name": "pane_wait_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| match | No | ||
| regex | No | ||
| source | No | recent-unwrapped | |
| pane_id | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||