lock-device
Lock mobile device screens for automated testing with Appium by specifying duration in seconds to simulate user inactivity during test scenarios.
Instructions
Lock the device screen
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": "lock-device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| durationSec | No | Duration in seconds to lock the device for |