load

[solution]

Loads a workspace root and initializes TypeScript or JavaScript project contexts.

Why this tool exists

Loading turns a folder of JS/TS files into project-aware TypeScript language-service state.

How it helps the agent

After load, the model can ask semantic questions using the same workspace graph across calls.

Try it locally in the TGlider playground

Parameters

NameTypeRequiredDescription
rootPathstringYesAbsolute path to the workspace root.
watchbooleanNoStart file watching after load. Default is true.

Examples

Load a local TypeScript workspace

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "load",
    "arguments": {
      "rootPath": "/Users/dev/app",
      "watch": true
    }
  }
}

Response Notes

Returns loaded projects, skipped configs, revision, and watcher state.

↑/↓ NavigateEnter OpenSpace Expand