screenshot
Capture any URL as a PNG image with full JavaScript rendering for SPAs and dynamic content. Returns base64 PNG.
Instructions
Screenshot API — Capture any URL as a PNG screenshot. Returns image_base64 (base64 PNG; decode to get raw bytes). Full JS rendering via Playwright, works on SPAs and dynamic content. Params: url (required), width px (default 1280), height px (default 800), full_page boolean, wait_ms. Cost: $0.009 USDC per call. Latency p99: 2800ms.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to capture | |
| width | No | Viewport width in pixels | |
| height | No | Viewport height in pixels | |
| wait_ms | No | Wait time after page load in ms | |
| full_page | No | Capture full page height |