Screenshot
screenshotCapture the current React Native app screen for visual inspection; return an inline JPEG or save PNG/JPEG to a specified file path.
Instructions
Capture the current screen. Without output_path returns an inline JPEG downscaled to 800px (pass full_res:true for the native PNG); an image that would still be too large for the caller fails with an actionable error instead of being returned. With output_path saves to a file (format png/jpeg; mask is iOS-only) and returns the path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | ||
| device | No | ||
| format | No | ||
| full_res | No | ||
| output_path | No |