semantic_diff
Compare graph-stored metadata properties between two code elements. Identify changed property keys and properties unique to each element using their element IDs.
Instructions
Compare graph-stored metadata properties between two code elements. Requires elementId1 and elementId2 — use the id fields from graph_query or code_explain results (not symbol names). Returns changed property keys and left/right-only properties. Note: compares graph metadata, not source-code semantics or embedding similarity.
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": {
"elementId1": "<elementId1>",
"elementId2": "<elementId2>"
},
"name": "semantic_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId1 | Yes | First code element ID | |
| elementId2 | Yes | Second code element ID | |
| profile | No | Response profile | compact |