Wait until a resource-id appears on screen
devilge_wait_for_resource_idPoll the UI dump until a node with a specified resource-id appears, with adjustable timeout and device serial.
Instructions
Polls the UI dump until a node with the given resource-id appears, or timeout.
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": {
"id": "<id>"
},
"name": "devilge_wait_for_resource_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource id to wait for. | |
| serial | No | Device serial. Defaults to DEVILGE_DEFAULT_DEVICE_SERIAL or the only attached device. | |
| timeoutMs | No | Max wait in ms (500..60000). Default 10000. |