Capture screenshot
capture_screenshotCapture a screenshot of a web page (the current 'before' state of a UI or website) and store it; returns a signed URL. The AI can browse to the exact pages that need a before/after and grab them automatically. Pair the URL with an 'after' (generate_image or a later screenshot) via add_before_after. Uses this tenant's configured screenshot provider (set_screenshot_provider — browserless or cloudflare); if none, falls back to function secrets.
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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL of the page to capture | |
| width | No | Viewport width in px (default 1280) | |
| height | No | Viewport height in px (default 800) | |
| full_page | No | Capture the full scrollable page (default false = just the viewport) |