as_ui_screenshot
Capture a screenshot of the Android Studio window or the full virtual screen. Specify output path and whether to capture only the window.
Instructions
Capture a screenshot of the Android Studio window (or full screen).
Args: params (ScreenshotInput): out_path (optional), window_only (bool).
Returns: str: JSON with 'saved_to' and the captured dimensions.
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": {
"params": "<params>"
},
"name": "as_ui_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |