pare-dotnet
v0.24.2Pare .NET — Structured .NET CLI operations as typed JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
build .NET Build
Runs dotnet build and returns structured diagnostics (file, line, column, code, severity, message).
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
configuration | string | Build configuration (e.g. Debug, Release) |
framework | string | Target framework (e.g. net8.0) |
noRestore | boolean | Skip automatic restore before building (--no-restore) |
path | string | Project root path |
project | string | Path to the project or solution file |
runtime | string | Target runtime identifier (e.g. win-x64, linux-x64) |
verbosity | string | MSBuild verbosity level |
test .NET Test
Runs dotnet test and returns structured test results (name, status, pass/fail counts).
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
configuration | string | Build configuration (e.g. Debug, Release) |
filter | string | Filter expression to select tests (--filter) |
framework | string | Target framework (e.g. net8.0) |
noBuild | boolean | Skip build before testing (--no-build) |
noRestore | boolean | Skip automatic restore before testing (--no-restore) |
path | string | Project root path |
project | string | Path to the test project or solution file |
verbosity | string | MSBuild verbosity level |
run .NET Run
Runs a .NET application and returns structured output (exit code, stdout, stderr).
| Parameter | Type | Description |
|---|---|---|
args | array | Arguments to pass to the application (after --) |
compact | boolean | Prefer compact output |
configuration | string | Build configuration (e.g. Debug, Release) |
framework | string | Target framework (e.g. net8.0) |
maxOutputSize | integer | Maximum size in bytes for stdout/stderr before truncation. Default: 1048576 (1MB). |
noBuild | boolean | Skip build before running (--no-build) |
noRestore | boolean | Skip automatic restore before running (--no-restore) |
path | string | Project root path |
project | string | Path to the project file to run |
timeout | integer | Execution timeout in milliseconds. Overrides the default 300s. Min: 1000 (1s), Max: 600000 (10m). |
publish .NET Publish
Runs dotnet publish for deployment and returns structured output with output path and diagnostics.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
configuration | string | Build configuration (e.g. Debug, Release) |
framework | string | Target framework (e.g. net8.0) |
noBuild | boolean | Skip build before publishing (--no-build) |
noRestore | boolean | Skip automatic restore before publishing (--no-restore) |
output | string | Output directory for published files (-o) |
path | string | Project root path |
project | string | Path to the project or solution file |
runtime | string | Target runtime identifier (e.g. win-x64, linux-x64) |
selfContained | boolean | Publish as self-contained deployment (--self-contained) |
restore .NET Restore
Runs dotnet restore to restore NuGet dependencies and returns structured results.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
locked | boolean | Require lock file is up to date (--locked-mode) |
path | string | Project root path |
project | string | Path to the project or solution file |
source | array | NuGet package source URIs to use (--source) |
verbosity | string | MSBuild verbosity level |
clean .NET Clean
Runs dotnet clean to remove build outputs and returns structured results.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
configuration | string | Build configuration to clean (e.g. Debug, Release) |
framework | string | Target framework to clean (e.g. net8.0) |
path | string | Project root path |
project | string | Path to the project or solution file |
verbosity | string | MSBuild verbosity level |
add-package .NET Add Package
Runs dotnet add package to add a NuGet package and returns structured results. WARNING: may execute untrusted code.
| Parameter | Type | Description |
|---|---|---|
package * | string | NuGet package name to add |
compact | boolean | Prefer compact output |
noRestore | boolean | Skip automatic restore after adding (--no-restore) |
path | string | Project root path |
prerelease | boolean | Allow prerelease packages (--prerelease) |
project | string | Path to the project file |
source | string | NuGet package source URI to use (--source) |
version | string | Package version to install (--version) |
list-package .NET List Packages
Runs dotnet list package and returns structured NuGet package listings per project and framework.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
deprecated | boolean | Show deprecated packages (--deprecated) |
format | string | Output format. JSON is preferred for structured parsing (--format json) |
includeTransitive | boolean | Include transitive packages (--include-transitive) |
outdated | boolean | Show outdated packages (--outdated) |
path | string | Project root path |
project | string | Path to the project or solution file |
source | string | NuGet package source URI for version checks (--source) |
vulnerable | boolean | Show packages with known vulnerabilities (--vulnerable) |