get_element_image
Capture a cropped screenshot of any specific UI element on Android or iOS by providing device ID, platform, selector, and strategy for visual inspection and debugging.
Instructions
Get a cropped screenshot of a specific UI element.
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": {
"deviceId": "<deviceId>",
"platform": "<platform>",
"selector": "<selector>",
"strategy": "<strategy>"
},
"name": "get_element_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | ||
| platform | Yes | ||
| selector | Yes | ||
| strategy | Yes |