adb_is_locked
Determine if an Android device's screen is locked, helping you decide whether to unlock it before executing automated ADB commands.
Instructions
Check if the device screen is locked
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": "adb_is_locked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | No | Target device ID (optional) |