adb_key
Send a remote or D-pad key command to an Android TV device via ADB. Provide a key name like UP, DOWN, ENTER, HOME, or a numeric keycode to trigger the press on the connected device.
Instructions
Press a remote/D-pad key by name (UP DOWN LEFT RIGHT ENTER BACK HOME POWER MENU VOLUME_UP PLAY_PAUSE SEARCH ASSIST ...) or numeric keycode.
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": {
"key": "<key>"
},
"name": "adb_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| serial | No | device serial (host:port); omit if only one device |