Tap node by resource id
devilge_tap_resource_idTaps a UI element by its resource ID for stable targeting across locales and code changes. Uses Modifier.testTag or Android resource-id.
Instructions
Like devilge_tap_text but matches by resource-id. More stable across copy/locale changes than text matching when the project uses Modifier.testTag.
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_tap_resource_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource id (Compose `Modifier.testTag` or Android resource-id) of the node to tap. | |
| serial | No | Device serial. Defaults to DEVILGE_DEFAULT_DEVICE_SERIAL or the only attached device. |