screenshot
Capture a JPEG of the visible browser viewport when layout or visuals matter, so agents can inspect rendering; use text snapshots for lower-cost checks.
Instructions
JPEG of the visible viewport. Use only when layout/visuals matter; snapshot is cheaper.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id. Default: your own target tab (each agent session gets its own) | |
| browser | No | chrome, edge, ... (only when several browsers are connected) | |
| quality | No | 1-100, default 60 | |
| maxWidth | No | Default 1280 |