compare_versions
Compare current session state against a target historical version. Get a directional diff with semantic summary of added and removed objects and relations.
Instructions
Compare the current state of a session against a target version. The returned diff is directional. 'direction' explicitly describes how to interpret the changes. 'base_version_id' is the historical version being compared against. 'target_version_id' is the current session state. The response also contains a semantic summary (added/removed objects and relations) to make interpretation easier for LLMs.
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": {
"session_id": "<session_id>",
"target_version_id": "<target_version_id>"
},
"name": "compare_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session whose current state will be compared. | |
| target_version_id | Yes | Historical version to compare against. The comparison is performed between this version and the current state of the session. |