save_output
Save the current browser page as a screenshot, HTML file, or PDF to create persistent artifacts for debugging, inspection, or documentation.
Instructions
Save the current browser page as a screenshot, HTML file, or PDF.
Use this tool when an automation workflow needs a persistent artifact from the current page, such as a screenshot for debugging, page source for inspection, or a PDF representation.
Args: format: - "screenshot": Save a PNG screenshot. - "html": Save the current page source as HTML. - "pdf": Save the current page as a PDF. filename: Output filename. Defaults to screenshot.png, page_source.html, or page.pdf depending on format. folder: Optional destination folder.
Returns: A confirmation containing the output format and filename.
Security: filename and folder can affect filesystem paths available to the MCP server. Existing files may be overwritten. Use trusted, authorized paths only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | ||
| format | No | screenshot | |
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |