chrome_screenshot
Capture a Chrome tab screenshot via CDP and save it to disk without activating background tabs. Target tabs by URL or title, choose PNG/JPEG, full-page capture, and set quality.
Instructions
Capture a screenshot of a Chrome tab via CDP and save it to disk without activating background tabs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Output path. Defaults to .pi/chrome-screenshots/<timestamp>.<format>. | |
| format | No | ||
| quality | No | JPEG quality 0-100. | |
| fullPage | No | Capture full-page tiles plus a JSON manifest. | |
| targetId | No | Chrome tab id to target. | |
| background | No | If true, avoid explicit Chrome focus/tab activation (default). Pass false to allow foreground work. | |
| urlIncludes | No | Match the target tab by URL substring. | |
| titleIncludes | No | Match the target tab by title substring. |