assign_zone_set
Assign a zone set to a specific monitor so dragged windows snap to its zones. Replaces the monitor's previous assignment and takes effect on the next drag.
Instructions
Assign a zone set (built-in or saved) to one monitor, so dragging a window there snaps to that set's zones. Each monitor keeps its own assignment; assigning replaces whatever that monitor used before and takes effect on the next drag. Omit 'name' to restore the default set (Halves); pass 'edge' for plain edge snapping instead of zones. Available set names and current per-monitor assignments are in get_state.
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": {
"screen": "<screen>"
},
"name": "assign_zone_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Zone set name, or 'edge' for edge snapping; omit for the default set | |
| screen | Yes | Monitor index (0 = primary) |