trust_solution
Mark a solution or directory as trusted to allow Roslyn analyzers to load from it. Required before getting diagnostics.
Instructions
Mark a solution path (or directory root) as trusted for analyzer execution. Required before get_diagnostics will load Roslyn analyzer DLLs from the solution. Always confirm with the user before calling this tool — analyzer DLLs run as in-process code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .sln/.slnx file, or a directory when scope='addRoot' | |
| scope | No | 'session' (in-memory only, default), 'persistent' (write to trust.json), or 'addRoot' (trust the directory and all solutions under it) | session |