page_screenshot
Capture page screenshots as files or base64. Supports full-page capture, region clipping, and multiple image formats.
Instructions
Save page screenshot to file or return as base64. Supports full-page capture, region clipping, and multiple image formats.
When to use: Capturing a screenshot for saving to disk or when the full-page or clipped region is needed. When NOT to use: Use computer(action:"screenshot") for an inline viewport screenshot during interaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID to capture | |
| path | No | Save path. Omit for base64 return | |
| fullPage | No | Capture entire scrollable page. Default: false | |
| format | No | Image format. Default: png | |
| quality | No | Compression quality 0-100, for jpeg/webp only. Default: 80 | |
| clip | No | Capture specific region | |
| omitBackground | No | Transparent background (png only). Default: false |