Clear device lock
clear_device_lockRemoves the Android device's secure lock screen with the current credential to restore a clean state after Keystore flow testing.
Instructions
Remove the secure lock screen, supplying the current credential as old_value. Use to restore a clean state after testing a Keystore flow.
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": {
"old_value": "<old_value>"
},
"name": "clear_device_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| old_value | Yes | The current credential, needed to clear the lock. |