Get the active workspace
get_active_workspaceRetrieve the ID of the currently visible Hyprland workspace so an agent can remember where to switch back after isolating a window on another workspace.
Instructions
Returns the Hyprland workspace ID currently visible. Used to remember where to switch back to after isolating a window on another workspace.
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": "get_active_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||