Screenshot
browser_screenshotTake a screenshot of the current page in an isolated browser session, returning the image as PNG and optionally saving to a file.
Instructions
Capture a PNG of the active page and return it as an image. Optionally also save it to a file within the output dir.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "browser_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file path within the output dir to also save to | |
| fullPage | No | ||
| sessionId | Yes | Id of the isolated browser session |