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