screenshot_page
Capture viewport screenshots as base64 PNG or save them to a file, with an option to include the full scrollable page.
Instructions
Capture viewport screenshot as base64 PNG. Set fullPage for the whole scrollable document.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "screenshot_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveTo | No | Save the screenshot to a file instead of returning it as image data in the response. Pass a file path, an existing directory (generated file inside), or true (generated file under ~/.firefox-devtools-mcp/output/). Relative paths resolve against the current working directory. | |
| fullPage | No | Capture the whole scrollable document (default: false) |