screenshot
Capture the device screen as an image when UI tree data lacks visual details; returned pixel coordinates match other tools, and an optional region crop helps read small text.
Instructions
Take a screenshot (costs far more tokens than get_ui; use it for visuals the tree lacks). Its pixel coordinates are the screen coordinates every other tool uses. With region, returns a sharper crop for reading small text; a crop's pixels are NOT screen coordinates.
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 |
|---|---|---|---|
| region | No | Screen-coordinate rectangle to zoom into | |
| serial | No | adb serial; optional when exactly one device is connected |