desktop_screenshot
Capture a PNG screenshot of a specific app window or display to inspect desktop UI, saving to file or returning base64.
Instructions
agent-desktop screenshot: Take a PNG screenshot of an application window
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": "desktop_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Filter to application by name | |
| screen | No | Capture display by index (from list-displays; 0 = primary) | |
| window_id | No | Scope to a single window ID (from list-windows) | |
| output_path | No | Save to file instead of returning base64 |