studio_screenshot
Capture a high-DPI screenshot of the current frame as a PNG. Target a specific element via CSS selector or capture the full page height.
Instructions
Take a high-DPI (2x) screenshot of the current frame and save it as a PNG in the output directory. Works any time during a session — element-only via selector, or full_page for the whole scroll height. Returns the file path. Clear captions/rings first unless you want them in the shot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name (without extension), e.g. 'dashboard-hero'. | |
| selector | No | Capture just this element (optional). | |
| full_page | No | Capture the full scroll height (optional; default false). |