version_diff
Generate a read-only unified text diff between two stored versions of editable files after digest verification, enabling review of candidate changes before proposing or gating.
Instructions
Show the unified text diff of editable files between two stored versions, after verifying both snapshots' content digests. Use it to review a candidate before proposing or gating; use compare_paired to compare measured outcomes instead. Read-only. Returns {parent, child, changed, diff}; binary files are named, not diffed.
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": {
"config": "<config>",
"parent": "<parent>",
"child": "<child>"
},
"name": "version_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| child | Yes | Version after the change: 64-character lowercase SHA-256 version id, as returned by version_create. | |
| config | Yes | Path of the scenario YAML file on the server host, absolute or relative to the server's working directory, for example `scenario.yaml`. It selects the workspace; a server started with --config rejects any other path. | |
| parent | Yes | Version before the change: 64-character lowercase SHA-256 version id, as returned by version_create. |