arrange_window
Moves and resizes an app window to set coordinates and dimensions, bringing it to the front so every demo recording take is framed identically.
Instructions
Move and resize an app window (and bring it to the front) so every take is framed identically.
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": {
"bundleId": "<bundleId>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "arrange_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| title | No | Title substring when the app has several windows. | |
| width | Yes | ||
| height | Yes | ||
| bundleId | Yes |