DroidMind

by hyperb1iss
Verified

press_key

Simulate key presses on Android devices using specified keycodes like HOME, BACK, VOLUME, and POWER. Requires device serial number and keycode for precise control via DroidMind MCP server.

Instructions

Press a key on the device.

Common keycodes:

  • 3: HOME
  • 4: BACK
  • 24: VOLUME UP
  • 25: VOLUME DOWN
  • 26: POWER
  • 82: MENU

Args: serial: Device serial number keycode: Android keycode to press

Returns: The result of the key press operation

Input Schema

NameRequiredDescriptionDefault
keycodeYes
serialYes

Input Schema (JSON Schema)

{ "properties": { "keycode": { "title": "Keycode", "type": "integer" }, "serial": { "title": "Serial", "type": "string" } }, "required": [ "serial", "keycode" ], "title": "press_keyArguments", "type": "object" }
ID: p03zdsi6ol