arch_diff
Compare two architecture snapshots to identify added and removed nodes and edges, revealing what changed between baseline and target refs.
Instructions
Diff two snapshots (current | git HEAD | snapshot_id): added/removed nodes and edges. Read-only.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "arch_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target ref: "current" | git HEAD | snapshot_id | |
| from | Yes | Baseline ref: "current" | git HEAD | snapshot_id | |
| max_bytes | No | Response budget in bytes (default 65536, max 1048576) | |
| workspace | No | Workspace path; omitted = discovery from cwd |