screenshot
Capture an Android device display to a local PNG file and return its path and pixel dimensions so tap or swipe coordinates can be scaled correctly.
Instructions
Capture the screen and save it to a local PNG path. Returns the path plus the pixel dimensions so coordinates can be scaled correctly.
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 |
|---|---|---|---|
| path | No | Where to write the PNG (default: droidmcp-screen.png in cwd). | |
| device | No | Device serial from list_devices (omit when exactly one device is connected). |