chrome_screenshot
Capture a screenshot of the current Chrome page, viewport or full page, or a specific element using a CSS selector. Returns a base64 image with format and quality options.
Instructions
Take a screenshot of the current page (returns base64 image)
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": "chrome_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format (default: png) | |
| quality | No | JPEG quality 0-100 (only for jpeg format, default: 80) | |
| selector | No | CSS selector to capture a specific element (optional) | |
| full_page | No | Capture full scrollable page (default: false, viewport only) | |
| tab_index | No | Tab index (optional) |