window_action
Control an X11 window by toggling fullscreen or maximize, or force-killing its app when a normal close fails.
Instructions
Apply an action to a window (default: the focused one).
kill disconnects the window's app from the display (XKillClient), which ends most apps immediately, and kills its process if that survives; use close_window first.
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": {
"action": "<action>"
},
"name": "window_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| window_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |