get_element_screenshot
Capture a screenshot of a specific UI element on a Windows desktop. Returns the cropped image as a base64-encoded PNG using the element ID from a find_element call.
Instructions
Take a screenshot cropped to a single element, returned as base64 PNG. Not supported in IE context.
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": {
"elementId": "<elementId>"
},
"name": "get_element_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Element ID returned by find_element |