install_ilspy
Diagnostics
Install or update ilspycmd, the ILSpy command-line decompiler. This tool detects your platform and package manager, optionally installs the .NET SDK if it is missing, and then installs ilspycmd as a global .NET tool.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
update | bool | No | false | Update ilspycmd to the latest version even if already installed |
install_dotnet_sdk | bool | No | false | Attempt to install the .NET SDK if it is missing (may require sudo) |
Supported Platforms
Section titled “Supported Platforms”| Platform | Package Manager |
|---|---|
| Arch / Manjaro / EndeavourOS | pacman |
| Ubuntu / Debian / Mint | apt |
| Fedora / RHEL / CentOS | dnf |
| openSUSE | zypper |
| macOS | homebrew |
| Windows | winget / chocolatey |
Example
Section titled “Example”{ "tool": "install_ilspy", "arguments": { "install_dotnet_sdk": true }}result = await client.call_tool("install_ilspy", { "install_dotnet_sdk": True,})Response
Section titled “Response”On success, reports the installed version and path. On failure, returns platform-specific instructions for manual installation. If the .NET SDK is missing and install_dotnet_sdk is not set, the response includes the recommended install command for your detected platform.
Related Tools
Section titled “Related Tools”check_ilspy_installation— verify installation statusdecompile_assembly— requires ilspycmdgenerate_diagrammer— requires ilspycmd