capture_page
Capture screenshots or PDFs of a web page or specific element, saving them to disk or returning them inline for visual checks and documentation.
Instructions
Screenshot (png/jpeg) or PDF of the page or an element, saved under cwd or TURBO_BROWSER_SAVE_ROOT; optional inline image.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| mode | No | screenshot | |
| text | No | ||
| type | No | png | |
| scale | No | css | |
| tabId | No | ||
| quality | No | ||
| frameIdx | No | ||
| fullPage | No | ||
| savePath | No | ||
| selector | No | ||
| returnImage | No |