browser_screenshot
Capture annotated screenshots with element indices for visual context in images, charts, or CAPTCHAs.
Instructions
Take an annotated screenshot with element indices overlaid.
Each numbered element maps to [@eN] refs from browser_snapshot. Use when you need VISUAL context — images, charts, CAPTCHAs, or layout. For most interactions, prefer browser_snapshot() instead.
Returns: file path to saved PNG, element count.
Args: page_id: Target page ID. full_page: Capture entire scrollable page (default: viewport only).
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": {
"page_id": "<page_id>"
},
"name": "browser_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| full_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||