screenshot_virtual_display
Capture the full contents of a headless Xvfb virtual display to a PNG file by choosing the display number and output path, then get the saved path and image dimensions.
Instructions
Capture the whole Xvfb virtual display to a PNG.
Args: params (ScreenshotVirtualInput): display number and output path.
Returns: str: JSON {"ok": true, "path": "...", "width": W, "height": H}.
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": "screenshot_virtual_display"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |