screenshot
Capture the controlled tab as a scaled JPEG, including background tabs. Use full:true for 1:1 PNG to read small text or measure pixels; prefer snapshot or read_text.
Instructions
Screenshot the controlled tab, background tabs included. Prefer snapshot / read_text — they cost far less. Returned at 60% scale as JPEG by default; full:true for 1:1 PNG (e.g. to read small text or measure pixels).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from the latest snapshot, e.g. "e3" | |
| full | No | Full-resolution PNG instead of the scaled JPEG. | |
| focus | No | Bring the tab forward first. Interrupts the user — ask before using. | |
| tabId | No | Target tab id. Omit to use the active controlled tab. | |
| spaceId | No | Pin this command to an owned BeatBrowser TaskSpace. Also pass its tabId. | |
| savePath | No | Absolute path to write the image instead of returning it inline. | |
| snapshotId | No | snapshotId the ref came from |