toggle_show_taps
Enable or disable visual feedback for screen taps to demonstrate interactions during recordings and demos on Android devices.
Instructions
Show visual feedback for taps - useful for demos/recordings
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | Yes | ||
| device_serial | No |
Implementation Reference
- src/adb_mcp_server/server.py:874-879 (handler)The main handler function for the 'toggle_show_taps' tool. It is decorated with @mcp.tool() which handles registration in the FastMCP framework. The function toggles Android's 'show_touches' system setting via ADB shell command to enable/disable visual feedback for screen taps.@mcp.tool() def toggle_show_taps(enable: bool, device_serial: str | None = None) -> str: """Show visual feedback for taps - useful for demos/recordings""" value = "1" if enable else "0" return run_adb(["shell", "settings", "put", "system", "show_touches", value], device_serial)