browser_screenshot
Capture a specified tab's viewport as a PNG while temporarily selecting it and restoring the prior tab without focusing the browser window.
Instructions
Capture the viewport as PNG. Temporarily selects the tab and restores the previous selection without focusing the window.
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": {
"tabId": "<tabId>"
},
"name": "browser_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab id from browser_tabs. | |
| browser | No | Browser id from browser_list, or chrome/firefox when only one instance matches. |