scrcpy_screenshot
Capture a screenshot from a connected Android device via ADB. Specify device serial and optional output path.
Instructions
Take a screenshot from the device.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serial": "<serial>"
},
"name": "scrcpy_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| output_path | No | /sdcard/screenshot.png |