Move window to Space
move_window_to_spaceMove the frontmost macOS window to another Space by desktop number, name, next, or previous, keeping its size and position.
Instructions
Move the user's frontmost window to another Space; the window keeps its size and position. Target is a desktop number or name from list_spaces, or "next"/"previous". The frontmost window is the one the user last focused: from a terminal client that is usually the window they worked in, from Claude Desktop it is Claude's own window. On macOS 14.0-14.4 and 26.4+ the window moves directly; on other versions Spacepal drags it, which takes a moment. Depending on the user's settings the screen may follow the window. Undo by moving it back. Fails if no Space has that name.
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": {
"space": "<space>"
},
"name": "move_window_to_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | Target desktop number or name from list_spaces, or "next" / "previous". |