con_screenshot
Capture a VM console screenshot as a PNG and return the file path, or base64-encoded image on request.
Instructions
Save a PNG of the VM console and return its path (base64 on request).
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": {
"vm": "<vm>"
},
"name": "con_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | VM name as registered in vms.yaml | |
| base64 | No | Also return the PNG as base64 |