page-capture
Page capture: screenshot or PDF of a public URL — Renders one public web page in a real browser (Cloudflare Browser Run, JavaScript enabled) and returns a PNG or JPEG screenshot or a PDF as base64 with its sha256, for agents that need to see or archive a page. Does not log in, click or fill forms, does not capture private or internal hosts, and returns an error rather than a capture larger than 6 MB.
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": "page-capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL. | |
| output | No | png | |
| viewport | No | Default 1280x800. | |
| full_page | No | Capture the full scroll height (screenshots only; a PDF is always the whole page). | |
| timeout_ms | No | Page navigation timeout. | |
| wait_until | No | load |