sharphy_diff_assemblies
Compares two compiled .NET assemblies at ECMA-335 metadata level to detect added/removed types, API breaking changes, and modified method CIL, helping validate library updates and regressions.
Instructions
Compares two versions of a compiled .NET assembly at the ECMA-335 metadata level to identify added/removed types, API breaking changes, and unified line-by-line CIL instruction diffs. Use this tool when validating library updates, regression testing, or detecting API modifications. Do NOT use for decompiling full method bodies (use 'sharphy_decompile_method'). Read-only comparison.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"oldAssemblyPath": "<oldAssemblyPath>",
"newAssemblyPath": "<newAssemblyPath>"
},
"name": "sharphy_diff_assemblies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeCilDiff | No | Whether to include unified line-by-line CIL instruction diff for modified method bodies | |
| newAssemblyPath | Yes | Path to the updated/newer assembly | |
| oldAssemblyPath | Yes | Path to the baseline/older assembly |