screenshot
Capture an image of a web page or specific CSS-selected element to visually inspect UI rendering across viewports, with options for full-page capture and reload.
Instructions
Take a screenshot of a web page or a specific element. Returns the image. Use this to see what the UI looks like.
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 |
|---|---|---|---|
| url | No | Page URL. Auto-detected if omitted. | |
| reload | No | Force page reload. Default: true on first call. | |
| selector | No | CSS selector to screenshot a specific element. | |
| viewport | No | Viewport size. Default: desktop. | |
| full_page | No | Capture full scrollable page. Default: false. |