bmahs_screenshot
Capture a JPEG screenshot of the current screen from a BMAHS device with UI capability, returning the image and its saved file path. Automates UI start and stop for one-frame capture.
Instructions
(实验)对声明了 ui 能力的 BMAHS 设备抓取一帧当前画面:自动 ui.start → 二进制流取一帧 JPEG → ui.stop,返回图片与保存路径。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | 设备 id 或显示名 | |
| max_width | No | 期望画面最大宽度(像素),设备按自身能力缩放 |