as_adb_screenshot
Capture a device screenshot and save it as a PNG file on your PC via ADB. Specify the output path and optional device serial.
Instructions
Capture the device screen to a PNG on this PC (adb exec-out screencap).
Args: params (ScreenshotInput): out_path (inside a workspace root), serial.
Returns: str: JSON with 'saved_to' and the file size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |