appium_screenshot
Capture and save a mobile screen as PNG, or target a specific element by UUID to capture only that element.
Instructions
Take a screenshot and save as PNG. Optionally provide elementUUID to capture only that element.
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": "appium_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxWidth | No | Resize to at most this width in pixels, preserving aspect ratio. | |
| sessionId | No | Session ID; defaults to the active session. | |
| elementUUID | No | Capture this element; omit for the full screen. | |
| returnRawBase64 | No | Return inline PNG instead of saving, for explicit manual use when the server file is inaccessible. LLMs must keep false and use the saved path. |