reload
[solution]
Reloads the currently loaded solution/project from disk.
Try it locally in the Glider playground
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| includeProjects | boolean | No | Include detailed project information in response. Default is false. Default: false |
| responseDetail | string | No | compact returns results and actionable state. full adds diagnostic metadata under responseDiagnostics. Default: "compact" |
Examples
Replace sample paths and symbol keys with values from your workspace.
Reload after manual edits
Arguments
{
"includeProjects": true
}Full MCP request
Full MCP request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "reload",
"arguments": {
"includeProjects": true
}
}
}Illustrative response
{
"success": true,
"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"
}
}Response Notes
Returns the reloaded path, project list, and updated cache metadata. Results use top-level fields with success. Compact is the default; full adds responseDiagnostics. Both modes retain errors, coverage, partial state, and recovery advice.