screenshot
Capture screenshots from Android devices using ADB or wireless connections. Supports debugging and visual inspection during app development by saving images directly to a specified path.
Instructions
Take a screenshot of any connected Android device. Uses existing ADB connections or connects wirelessly if device info provided.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
debugPort | No | Wireless debugging port (different from pairing port) | |
deviceIP | No | IP address of the Android device. Can include port like "192.168.1.100:12345" | |
outputPath | No | Path where to save the screenshot (optional) | |
pairingCode | No | Pairing code shown on device for initial pairing | |
pairingPort | No | Pairing port shown on device for initial pairing |
Input Schema (JSON Schema)
{
"properties": {
"debugPort": {
"description": "Wireless debugging port (different from pairing port)",
"maximum": 65535,
"minimum": 1,
"type": "number"
},
"deviceIP": {
"description": "IP address of the Android device. Can include port like \"192.168.1.100:12345\"",
"pattern": "^(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})(:\\d{1,5})?$",
"type": "string"
},
"outputPath": {
"description": "Path where to save the screenshot (optional)",
"type": "string"
},
"pairingCode": {
"description": "Pairing code shown on device for initial pairing",
"pattern": "^\\d{6}$",
"type": "string"
},
"pairingPort": {
"description": "Pairing port shown on device for initial pairing",
"maximum": 65535,
"minimum": 1,
"type": "number"
}
},
"required": [],
"type": "object"
}