screenshot_to_disk
Capture web page screenshots and save them to disk, returning a file path to reduce token usage by thousands compared to base64 output.
Instructions
Takes a screenshot, saves it to disk, and returns the file path. Saves ~3000-5000 tokens per screenshot compared to returning base64. Read the file with read_file if you need to inspect it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Screenshot format. | png |
| quality | No | JPEG quality (ignored for PNG). | |
| fullPage | No | If true, capture the full scrollable page. | |
| directory | No | Output directory override. Defaults to config screenshotDir (system temp). |