Capture device screenshot
devilge_take_screenshotCapture an Android device screen as a PNG image and save it to a configured directory, returning the absolute path for access by the LLM client.
Instructions
Captures the current device screen (adb exec-out screencap -p) and saves a PNG under the configured outputs directory. Returns the absolute path so the LLM client can read the image. Default outputs root: <projectRoot>/.devilge-outputs/screenshots/.
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": "devilge_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial. Defaults to DEVILGE_DEFAULT_DEVICE_SERIAL or the only attached device. |