Window Set Frame
window_set_framePins a window (by window_id) to fixed bounds {x,y,w,h} in global points, so every take is framed identically across runs. Returns the actual post-constraint bounds. Refuses LMCP's own windows (web-automation sessions, tray) with own_window; use web_show for those. Requires Accessibility permission.
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": {
"window_id": "<window_id>",
"bounds": "<bounds>"
},
"name": "window_set_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bounds | Yes | {x,y,w,h} global points. | |
| window_id | Yes | Window to move or resize, from list_windows. |