serial_wait_for
Monitor serial output for specific patterns or strings to detect boot messages, prompts, or system events during remote device communication.
Instructions
Wait for a specific string/pattern in serial output. Useful for boot messages, prompts.
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": {
"connection_id": "<connection_id>",
"pattern": "<pattern>"
},
"name": "serial_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | Connection ID from serial_connect | |
| pattern | Yes | String to wait for in output | |
| timeout | No | Maximum time to wait in seconds (default: 30) |