34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
{
|
|
"description": "Capture screenshots via KWin (Wayland-safe).",
|
|
"prompt": "## gui_screenshot\n\nCapture screenshots via KWin (Wayland-safe).\n\n**Args**: `[mode]` or `[mode, \"--output=path\"]`\n- mode: `active`, `screen`, `area`, `window` (default: active)\n\n```\ngui_screenshot(mode=\"active\")\ngui_screenshot(mode=\"screen\", output=\"--output=/tmp/shot.png\")\n```",
|
|
"args": {
|
|
"type": "object",
|
|
"properties": {
|
|
"mode": {
|
|
"type": "string",
|
|
"description": "active|screen|area|window (default: active)"
|
|
},
|
|
"output": {
|
|
"type": "string",
|
|
"description": "Output file path"
|
|
},
|
|
"screen": {
|
|
"type": "integer",
|
|
"description": "Screen index for screen mode"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Window title substring for window mode"
|
|
},
|
|
"include_cursor": {
|
|
"type": "boolean",
|
|
"description": "Include cursor in capture"
|
|
},
|
|
"include_decoration": {
|
|
"type": "boolean",
|
|
"description": "Include window decoration (default: true)"
|
|
}
|
|
}
|
|
}
|
|
}
|