viewport_screenshot
Take a screenshot of the active viewport, save it as a PNG, and provide the absolute path for Claude Code to access.
Instructions
Capture the active viewport to a PNG file. Returns the absolute filesystem path so Claude Code can read the image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show_ui | No | Include editor UI in capture (default false) | |
| filename | No | Output filename (auto-generated if omitted) | |
| resolution | No | Screenshot resolution |