switch_workspace
Switch to a specific Hyprland workspace by name or number, such as '1' or 'special:scratchpad', to organize and access desktops directly.
Instructions
Switch to a workspace by name/number (e.g. "1", "special:scratchpad").
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": {
"workspace": "<workspace>"
},
"name": "switch_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |