screenshot
Capture a PNG screenshot for visual checks of colors, images, and layout. Use as a fallback when text or structure verification is insufficient.
Instructions
PNG screenshot — the fallback for purely visual checks (colors, images, layout polish). For text/structure, prefer get_ui_tree or wait_for: cheaper and more precise.
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 |
|---|---|---|---|
| device | No | Device id from list_devices. Optional when exactly one device is booted. |