session_screenshot
Capture the current visible viewport of a browser tab and return it as a base64 PNG or JPEG data URL. Use it to see exactly what is on screen in the signed-in session.
Instructions
Capture what is currently on screen in a tab. Returns a data: URL holding a base64 PNG or JPEG. This is the visible viewport only — it does not scroll or stitch, so a long page needs the extension's full-page capture instead.
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": "session_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab to capture; uses the active tab when omitted | |
| format | No | png (default, lossless) or jpeg (smaller, and the only format quality applies to) | png |
| quality | No | JPEG quality from 0 to 100; ignored for png | |
| windowId | No | Window to capture from; uses the current window when omitted |