Show what changed to the reader
show_changesShows the reader what changed: presents a comparison or a change inventory to the reader as an interactive card, this service's intended way of showing what changed between the two texts of a served pair. With article, the card is that article's word-level comparison, side by side with every change marked, as compare_versions serves it. With articles, one card holds those articles as a filtered inventory, each opening its comparison in place. Without either, the card is the instrument's inventory of changed articles grouped by kind of change, with the editors' notes, as list_version_changes serves it. The result is a one-line summary with the site link; the card loads its own data. compare_versions and list_version_changes return the same comparison as data, for an answer that quotes or reasons over the wording.
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": {
"instrument_id": "<instrument_id>"
},
"name": "show_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| article | No | An article number. With it, the card is that article's comparison; without it and without articles, the instrument's change inventory. | |
| articles | No | Several article numbers: one card holding those articles as a filtered inventory, each opening its comparison in place. Not with article. | |
| instrument_id | Yes | Registry id of the instrument, e.g. "psr". | |
| to_version_id | No | Optional ending version. Supply with `from_version_id`; accepts the same version IDs and aliases. | |
| from_version_id | No | Optional starting version. Supply both version IDs or neither; without them, returns the instrument's latest available comparison. Accepts a version ID or a supported alias. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| text | Yes | ||
| warnings | No |