screenshot_window
Capture a specific window screenshot on GNOME desktop. Choose to include window frame or cursor, and output as file path or base64 PNG.
Instructions
Take a screenshot of a specific window.
Args: window_id: The window's stable ID (from list_windows). include_frame: Whether to include window decorations. include_cursor: Whether to include the mouse cursor. format: "path" returns filepath, "base64" returns base64-encoded PNG.
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": {
"window_id": "<window_id>"
},
"name": "screenshot_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | ||
| include_frame | No | ||
| include_cursor | No | ||
| format | No | path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |