take_screenshot
Captures the current page as a PNG image for visual inspection of layout, images, or visual structure. Use when you need to analyse visual elements, not for reading text.
Instructions
Returns the current page as a PNG image blob for visual inspection. Use only when you need to analyse layout, images, or visual structure. For reading text or locating text buttons use ocr_screenshot instead — it is faster and costs no vision tokens.
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": {
"session_id": "<session_id>"
},
"name": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID returned by start_browser. |