41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
{
|
|
"description": "KWin window management via D-Bus.",
|
|
"prompt": "## gui_windows\n\nKWin window management via D-Bus.\n\n**Args**: `[action, ...]`\n- Actions: `list`, `focus`, `close`, `minimize`, `maximize`, `move`, `resize`, `desktops`\n\n```\ngui_windows(action=\"list\")\ngui_windows(action=\"focus\", title=\"Firefox\")\n```",
|
|
"args": {
|
|
"type": "object",
|
|
"required": [
|
|
"action"
|
|
],
|
|
"properties": {
|
|
"action": {
|
|
"type": "string",
|
|
"description": "list|focus|close|minimize|maximize|move|resize|desktops|desktop"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Window title substring"
|
|
},
|
|
"x": {
|
|
"type": "string",
|
|
"description": "X position (for move)"
|
|
},
|
|
"y": {
|
|
"type": "string",
|
|
"description": "Y position (for move)"
|
|
},
|
|
"width": {
|
|
"type": "string",
|
|
"description": "Width (for resize)"
|
|
},
|
|
"height": {
|
|
"type": "string",
|
|
"description": "Height (for resize)"
|
|
},
|
|
"number": {
|
|
"type": "string",
|
|
"description": "Desktop number (for desktop)"
|
|
}
|
|
}
|
|
}
|
|
}
|