screenshot
Capture the QGIS main window, a specific window, or a single widget as a PNG and return the image with its saved path for UI verification.
Instructions
Capture QGIS main window, a window, or one widget. Returns the PNG image plus its saved path.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| window | No | ||
| object_name | No |