Capture a web page
capture_web_pageScreenshot a web page in a headless Chrome: the first screen, the full page, or one element. With a project the image is imported into it; without one it comes back in the result. With scroll it records the page scrolling instead, as a video clip for the project.
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>",
"context": "<context>"
},
"name": "capture_web_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to capture | |
| wait | No | Seconds to let the page settle after it loads | |
| scale | No | Device pixel ratio (default 2) | |
| theme | No | light (default) or dark pick the site’s own theme; force-dark also darkens a page with no dark theme; system follows the capturing browser | |
| width | No | Viewport width in CSS pixels (default 1440) | |
| height | No | Viewport height in CSS pixels (default 900) | |
| scroll | No | Record the page scrolling down from the top as a video clip (1920x1080, 30 fps) imported into the project, rather than a still. For a shot of the site being scrolled: sticky headers stay in view and the page’s own motion plays, where a full page is one tall still the edit has to pan over. The view is 1440x810 unless width and height say otherwise. Needs project; not with fullPage or selector. | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| project | No | Import the image into this project | |
| fullPage | No | Capture the whole scrollable page | |
| selector | No | Capture only the first element matching this CSS selector | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| fullMotion | No | Keep the page’s animations; by default it is asked for reduced motion so stills do not catch a transition | |
| scrollScreens | No | How far it scrolls, in heights of the view (default 3); a page that ends sooner stops at its end | |
| scrollSeconds | No | How long the scroll takes, in seconds (default 6) | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |