Browse documentation

get_workspace_root

[architecture]

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

Try it locally in the TGlider playground

This tool requires no parameters.

Examples

Replace sample paths and symbol keys with values from your workspace.

Inspect workspace root metadata

Arguments
{}
Full MCP request
Full MCP 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, workspace patterns, and module-context summary counts.