screenshot
Capture a screenshot of the browser window, a specific element, the full page, or the screen by selecting a mode and optional CSS selector.
Instructions
Capture a screenshot of the browser window, an element, the full page, or the screen
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 |
|---|---|---|---|
| display | No | Display index for screen mode (1-based; defaults to the main display) | |
| mode | No | Capture mode | window |
| selector | No | CSS selector for element mode | |
| settle | No | Page mode: ms to wait after each scroll for content to settle (default 500) | |
| share | No | Save to disk and return path instead of inline image |