Screenshot a web page
screenshot_pageA 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: nothing is charged. Needs the write scope.
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_page"
}
}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 |