Capture the page
capture_pageCapture the active tab or full scrollable page as an image so you can verify layout, check fixes visually, or see what the user describes.
Instructions
Takes a screenshot of the active tab and returns it as an image the model can see. Captures the full scrollable page by default, including pages that scroll inside a panel. Use it to check layout, verify a fix visually, or see what the user is describing.
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": "capture_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "full" stitches the whole page, "viewport" takes only what is on screen. | full |
| viewport | No | Render the page at a breakpoint before capturing. "current" uses the window as it is. | current |