Switch Space
switch_spaceSwitch to another macOS Space instantly without the slide animation by desktop number, name, next, previous, or back; only the visible Space changes, and windows stay put.
Instructions
Show another Space on the user's screen, instantly and without the slide animation. Give a desktop number or name from list_spaces, or "next", "previous" (neighbouring desktop) or "back" (the Space shown before). Changes only what is visible; no windows move. Undo with space="back". Returns the Space now shown; 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": "switch_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | Desktop number or name from list_spaces, or one of "next", "previous", "back". |