adb_screencap
Captures an Android device screenshot, saves it to the local filesystem, and returns the saved file path.
Instructions
Take a screenshot and save to local filesystem. Returns the file path.
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": "adb_screencap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| filename | No | Output filename (default: screenshot_<timestamp>.png) |