get_workspace_info
Workspace info: which product is loaded, what other products are available, current workspace mode.
Workspace & Portfoliosatomic (read-only)
Arguments
No arguments — this tool takes no input.
Returns
Shape
{ mode, workspace_path?, current_product?, current_file?, products }The shape depends on whether .upg/workspace.json exists.
Examples
Live call against the Notion example graph.
Output
{
"mode": "single-file",
"current_file": "../../../../../../../tmp/claude-502/upg-capture-vP3Dh5/fixture.upg",
"products": [
{
"file": "../../../../../../../tmp/claude-502/upg-capture-vP3Dh5/fixture.upg",
"title": "Notion (SATURATED test graph)",
"active": true
}
]
}