take-screenshot
Capture screenshots from Android devices during mobile app automation testing. Specify device ID and save location to document visual states for debugging and verification.
Instructions
Take a screenshot on an Android 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": {
"deviceId": "<deviceId>",
"outputPath": "<outputPath>"
},
"name": "take-screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | The device ID to take the screenshot from | |
| outputPath | Yes | The local path to save the screenshot to |