Capture Website Screenshot
capture_urlCapture a web page screenshot as an image and save it to a file for use with design analysis, recreation, or reimagining tools. Specify URL, viewport size, mobile emulation, or full-page capture.
Instructions
Take a screenshot of a web page and return it as an image. It is also saved to a file whose path you can pass to analyze_design, recreate, reimagine and the other vision tools. Needs Google Chrome installed, or Chromium via npx playwright-core install chromium.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "capture_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL (http or https) | |
| width | No | ||
| height | No | ||
| mobile | No | Emulate a 390px-wide phone | |
| full_page | No |