screenshot
Capture any browser tab as an image file, even when not visible or on a headless server, and save it to disk for evidence or documentation.
Instructions
Capture a tab and save it to disk.
Captures the tab that was asked for even if it is not frontmost, and works headless — so this is also how evidence gets captured on a server. Needs the CDP backend.
Args: tab_id: Exact tab id. url_pattern: Regex matched against tab URLs. full_page: Capture the whole scrollable page, not just the viewport. selector: Capture only this element. image_format: 'png' or 'jpeg'. quality: JPEG quality, 1-100. Ignored for PNG. label: Included in the filename, to make the file findable later. return_image: Inline the image in the result. Defaults on when the client is on another machine (TABPILOT_REMOTE / --return-images), since a saved path means nothing there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| tab_id | No | ||
| quality | No | ||
| selector | No | ||
| full_page | No | ||
| url_pattern | No | ||
| image_format | No | png | |
| return_image | No |