Screenshot a web page
screenshot_pageCapture any URL as an image with a real browser, including JavaScript and fonts. Choose full page, CSS element, or mobile/desktop viewport.
Instructions
A real browser renders a URL (JavaScript runs, fonts load) and returns the picture as a media key: the viewport, the full page, or one element by CSS selector, on a phone or laptop viewport. Free: budgetUsd (default 2, max 10) is held while it runs and released. Needs the write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The absolute URL of the page to open. | |
| selector | No | CSS selector of one element to shoot instead of the page. | |
| viewport | No | Which screen to shoot it on. Defaults to desktop. | |
| budgetUsd | No | Optional: the most this call may spend, in dollars, default 2, max 10. | |
| full_page | No | Capture the whole scroll height instead of the first fold. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| media | Yes | ||
| output | No | The tool's own result, shaped by the tool. | |
| chargedUsd | Yes |