screenshot
Captures a PNG image of a Swing window or component even when covered, and defaults to the modal dialog, active window, or main frame if no reference is supplied.
Instructions
PNG image of a window or component, painted by Swing itself (works even if the window is covered). Without ref: the modal dialog, active window or main frame.
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 |
|---|---|---|---|
| ref | No | Window or component ref |