screenshot
Capture an app's display or Waydroid's main display as an image, saving a full-resolution PNG for visual inspection and debugging.
Instructions
Screenshot of an app's display or of Waydroid's main display, returned as an image and saved as a full-resolution PNG. Tap coordinates are display pixels: when the image is scaled down, divide image coordinates by the scale it reports.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | App to act on. An app in its own window or hidden display is found by package; otherwise Waydroid's main display is used. | |
| wait_ms | No | Wait this long first, for a page change or animation after input. | |
| max_size | No | Longest side of the returned image in pixels; 0 returns full size. | |
| display_id | No | Android display id instead of a package; 0 is Waydroid's main display. |