Wait for process output
wait_for_process_outputUse this when you need to wait until a running command prints something specific, such as a readiness line or a failing test name.
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": {
"pid": "<pid>",
"pattern": "<pattern>",
"device": "<device>"
},
"name": "wait_for_process_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Session pid returned by start_process. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| pattern | Yes | Regular expression or literal text to wait for. | |
| timeout_ms | No | How long to wait before returning the output collected so far, in milliseconds. Default 10000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | Concise human-readable result of the tool call. |