reload_current

[solution]

Reloads the currently loaded solution/project from disk.

Parameters

NameTypeRequiredDescription
timeout_msnumberNoTimeout in milliseconds. Use 0 to disable. Default is 60000.

Examples

Reload after manual edits

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "reload_current",
    "arguments": {}
  }
}
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"
    }
  },
  "error": null
}

Response

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

Go to Playground to test this tool interactively.