Current Unfour workspace
unfour.workspace.currentFetches the active local workspace through Unfour's command bus so Cursor and Codex can use the correct API, SSH, and database connections.
Instructions
Returns the active local workspace through the Unfour command bus.
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": "unfour.workspace.current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| source | Yes | ||
| mcpPolicy | Yes | ||
| workspaceId | Yes | ||
| workspaceName | Yes | ||
| workspaceRoot | Yes | ||
| environmentType | Yes |