take_screenshot
Capture screenshots from Android devices or emulators, with optional UI element annotations for visual automation and testing purposes.
Instructions
Take a screenshot for the specified device/emulator. If no device_id is provided, uses the default device. Set annotate_elements=False to take a plain screenshot without UI element annotations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| annotate_elements | No | ||
| device_id | No | ||
| name | No |
Input Schema (JSON Schema)
{
"properties": {
"annotate_elements": {
"default": true,
"title": "Annotate Elements",
"type": "boolean"
},
"device_id": {
"default": null,
"title": "Device Id",
"type": "string"
},
"name": {
"default": null,
"title": "Name",
"type": "string"
}
},
"title": "take_screenshotArguments",
"type": "object"
}