resize_window
Resize a specific window to exact pixel dimensions, enabling precise layout adjustments for automated GUI workflows.
Instructions
Resize a window to a new width and height.
Args: params (ResizeWindowInput): target window plus new width, height.
Returns: str: JSON with the window's updated geometry, or an error if not found.
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": {
"params": "<params>"
},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |