takeScreenshot
Capture screenshots of a URL across multiple browsers and platforms, including localhost through an active TestingBot Tunnel. Returns a screenshot ID for retrieving results.
Instructions
Take screenshots of a URL across multiple browsers and platforms. Returns a screenshot ID to retrieve results. localhost / private-network URLs are captured through the account's newest running TestingBot Tunnel — start one with startTunnel first.
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>",
"browsers": "<browsers>"
},
"name": "takeScreenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to screenshot | |
| browsers | Yes | Array of browser configurations | |
| fullPage | No | Capture full page or just viewport | |
| waitTime | No | Time to wait before taking screenshot (in seconds, max 60) | |
| resolution | No | Screen resolution (e.g., '1920x1080') | 1920x1080 |