android_uiautomator_toggle_checkbox
Toggle Android checkbox elements by resource ID to automate UI testing and device control through ADB commands.
Instructions
Toggle a checkbox element by resource ID
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": {
"resourceId": "<resourceId>"
},
"name": "android_uiautomator_toggle_checkbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resourceId | Yes | Resource ID of the checkbox element | |
| deviceSerial | No | Specific device serial number to target (optional) |