herdr_pane_wait_output
Waits for a terminal pane's output to match a literal string or Rust regex, returning when the pattern appears or the timeout expires.
Instructions
Wait until a pane's output matches text or a regex.
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": "herdr_pane_wait_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Rows to inspect. | |
| match | No | Literal substring to wait for. | |
| regex | No | Rust regex to wait for. | |
| source | No | Read source. | recent-unwrapped |
| pane_id | Yes | Pane id. | |
| timeout_ms | No | Timeout in milliseconds. |