tile_windows
Arrange Chrome windows into equal, gapless tiles on one monitor using grid, columns, or rows, restoring maximized windows first and reading the monitor work area from a scriptable tab.
Instructions
Tile Chrome windows over one monitor in equal parts with no gap. Only Chrome windows. The monitor is the one of a window already on it, whose work area is read from a page there: at least one target needs a scriptable tab (not chrome://). Maximized windows are restored first, since maximized ignores bounds. To restore a saved arrangement use window_layout; to move one tab into another window, move_tab.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tile_windows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Monitor area to fill, when no target window has a scriptable tab to read it from | |
| layout | No | columns splits left to right, rows top to bottom, grid keeps tiles as square as it can | grid |
| padding | No | Px of empty margin kept inside the work area | |
| window_ids | No | Windows to tile; omitted = every normal window on the reference monitor | |
| include_types | No | Window types to include; omitted = normal only | |
| reference_window_id | No | Window whose monitor is used; omitted = the focused one |