device_wait
Blocks until an Android device reaches the requested state, so you can safely continue after connecting or rebooting; set serial and timeout to control the wait.
Instructions
Block until a device reaches state 'device' (use after adb_connect / reboots).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "device_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Serial to wait for (default: any online device) | |
| timeout | No | Seconds to wait (default 30) |