Screenshot sandbox
sandbox_screenshotCapture the sandbox desktop or a specific window to return a preview image while saving the full-resolution PNG on the host for visual inspection and coordinate-based clicks.
Instructions
Capture the sandbox desktop, or one window by title/pid. Returns a preview image; the full-resolution PNG is saved on the host. sandbox_click coordinates refer to this image by default.
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": "sandbox_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Capture only the main window of this process. | |
| name | No | Label used in the saved file name. | |
| maxWidth | No | Preview width (default 1280). | |
| windowTitle | No | Capture only the first window whose title contains this text. |