Inventory diff
diff_inventoryCompare two inventory commits to identify added, removed, or changed nodes and edges. Review modifications before merging a PR that updates inventory.yaml.
Instructions
Diff two ingested inventory commits (fromSha to toSha): added/removed nodes and edges. Returns { added, removed, changed }. Requires inventory_v2. Read-only. Use before merging a PR that touches inventory.yaml to see what changed; use get_inventory for the current snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toSha | Yes | Newer commit SHA (the candidate to diff to) | |
| fromSha | Yes | Older commit SHA (the baseline to diff from) | |
| projectId | No | Project UUID — defaults to configured project |