connect_and_screenshot
Connect to an Android device over WiFi, pair with it, and capture a screenshot for UI debugging or visual inspection during app development.
Instructions
Connect to an Android device and take a screenshot. Use when no device is connected.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
debugPort | No | Wireless debugging port (different from pairing port) | |
deviceIP | Yes | 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": [
"deviceIP"
],
"type": "object"
}