adb_power
Controls Android device power state by putting the screen to sleep or waking it over ADB.
Instructions
Put the screen to sleep or wake the device.
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": {
"action": "<action>"
},
"name": "adb_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| device | No | serial, ip[:port] or saved alias; omit to use the default device |