screenshot_page
Capture Firefox page screenshots as PNG data or files, choosing the current viewport or full scrollable document for visual testing and documentation.
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-mcp/output/). Relative paths resolve against the current working directory. | |
| fullPage | No | Capture the whole scrollable document (default: false) |