save_output
Save the current page as a screenshot, HTML source, or PDF file, with optional filename and folder.
Instructions
Save the current page as a screenshot, HTML source, or PDF file.
Args:
format: 'screenshot', 'html', or 'pdf'.
filename: Output filename. Defaults to 'screenshot.png',
'page_source.html', or 'page.pdf' depending on format.
folder: Optional folder to save into.
If 'screenshot' format, then the page is saved as a PNG (.png) file.
If 'html' format, then the page source is saved to an HTML (.html) file.
If 'pdf' format, then the page is saved as a PDF (.pdf) file.
SECURITY: filename/folder can potentially expose filesystem operations
to an MCP client. Existing files could get overwritten with the save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | ||
| format | No | screenshot | |
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |