desktop_resize_window
Resize an application window to specific pixel dimensions, optionally scoped by app name or window ID, so automated desktop tasks can run at the required window size.
Instructions
agent-desktop resize-window: Resize application window
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": {
"width": "<width>",
"height": "<height>"
},
"name": "desktop_resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Filter to application by name | |
| width | Yes | New window width in pixels | |
| height | Yes | New window height in pixels | |
| window_id | No | Scope to a single window ID (from list-windows) |