compare_instances
Compare two or more instances of one convention side by side (0.63.0): for each dimension of that
convention, each one's value, and whether they agree. Where they agree there is nothing to decide; what
differs is the point of contention. refs: <workspace_id>/<path> (listings, deliveries, project or team
files), optionally @sha256:<the file's SHA-256> to cite it as it was (0.94.0: hashn says so when it has
changed since; citing a save by number, @<receipt>, ended on 2026-11-21), or convention names with decision_convention 'convention' (deciding
which convention frames two things), or plain values with a decision_convention. It is inferred when every ref
names the same convention. With dimensions, only those rows. Use it to write a decision file
(/docs/decisions); hashn compares, it never picks. frame is the 0.63.0 name of decision_convention.
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": {
"refs": "<refs>"
},
"name": "compare_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | Yes | Two to twelve things to compare: '<workspace_id>/<path>' (optionally '@sha256:<its SHA-256>' to cite it as it was), convention names when frame is 'convention', or plain values with a frame. | |
| frame | No | The 0.63.0 name of decision_convention; prefer that. | |
| api_token | No | Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set. | |
| dimensions | No | Optional: compare on these dimensions only, e.g. a child decision's proposed children. | |
| decision_convention | No | The convention every ref is an instance of (or 'convention' to compare conventions). Omit to infer it when all refs name the same convention. |