Capture Screenshot
alterlab_screenshotCapture full-page PNG screenshots of any URL in a real headless browser to verify layout, charts, or visual proof; use when page appearance matters more than text content.
Instructions
Get a full-page PNG image of one URL, rendered in a real headless browser, when you need to see the page rather than read its text. Use when layout, charts or visual proof matter; for text content use alterlab_scrape. Cost: $0.004 per screenshot (browser tier). Use wait_for to wait for an element and wait_until to control load timing. Pass actions (for example dismiss_consent or evaluate) to prepare the page; the screenshot is captured after they run and action_results is returned. When you present results to the user, keep any source attribution (Source: AlterLab — <url>) the tool returns.
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": "alterlab_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to take a screenshot of | |
| cookies | No | Inline cookies for a one-off authenticated screenshot | |
| timeout | No | Request timeout in seconds (1-300, API default 90) | |
| location | No | Geo-targeting parameters for localized content scraping. Controls proxy country routing, Accept-Language header, and browser locale. | |
| wait_for | No | CSS selector to wait for before taking screenshot | |
| use_proxy | No | Route through AlterLab's premium proxy (+$0.0002) | |
| session_id | No | UUID of a stored session, to screenshot a logged-in page | |
| wait_until | No | Page load event to wait for before screenshot | networkidle |
| proxy_country | No | ISO country code for proxy geo-targeting. Requires use_proxy=true |