Capture Window Frame
capture_window_frameCapture a window's frame into memory as image content for GUI inspection or testing on Wayland; optionally save it as a PNG artifact.
Instructions
Captures window frame as in-memory ImageContent (saves PNG when save_artifact=True).
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": "capture_window_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| crop_box | No | ||
| save_artifact | No |