reload

[solution]

Reloads the currently loaded solution/project from disk.

Why this tool exists

Structural edits such as project file changes, new files, or removed files need a fresh workspace graph.

How it helps the agent

It gives the model a clear way to rebuild semantic state when sync is not enough.

Try it locally in the GliderMCP playground

Parameters

NameTypeRequiredDescription
includeProjectsbooleanNoInclude detailed project information in response. Default is false.

Examples

Reload after manual edits

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "reload",
    "arguments": {
      "includeProjects": true
    }
  }
}
Response
{
  "success": true,
  "data": {
    "reloadedPath": "/Users/dev/MyProject/MyProject.sln",
    "projectCount": 2,
    "projects": [
      {
        "name": "MyProject",
        "filePath": "/Users/dev/MyProject/MyProject.csproj",
        "documentCount": 42
      }
    ],
    "cache": {
      "cacheStatus": "valid",
      "revision": 2,
      "lastRefreshUtc": "2026-01-12T21:07:10.000Z",
      "loadedKind": "solution",
      "loadedPath": "/Users/dev/MyProject/MyProject.sln"
    }
  },
  "meta": {
    "durationMs": 123,
    "cancelled": false,
    "timedOut": false,
    "timeoutMs": 1200000
  },
  "error": null
}

Response Notes

Returns the reloaded path, project list, and updated cache metadata.

↑/↓ NavigateEnter OpenSpace Expand