get_workspace_root

[architecture]

Returns package-manager and workspace-root metadata for the loaded workspace.

Why this tool exists

Monorepo package relationships and import graphs are too large to reconstruct reliably from scattered file reads.

How it helps the agent

The model can reason from package, project, dependency, dependent, path, and cycle facts before editing architecture-sensitive code.

Try it locally in the TGlider playground

This tool requires no parameters.

Examples

Inspect workspace root metadata

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_workspace_root",
    "arguments": {}
  }
}

Response Notes

Returns root path, package manager hints, package.json path, root config path, and workspace patterns.

↑/↓ NavigateEnter OpenSpace Expand