Compare two IGs
compare_igsCompare two implementation guides, each "packageId#version": one guide at two versions (version diff) or two guides (stack compare). Over MCP the answer is a bounded summary (counts per change type, the most serious findings, and where the whole report is); POST /api/v1/compare returns the whole report.
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": {
"ig_a": "<ig_a>",
"ig_b": "<ig_b>"
},
"name": "compare_igs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ig_a | Yes | e.g. "hl7.fhir.us.davinci-pas#2.0.1" | |
| ig_b | Yes | e.g. "hl7.fhir.us.davinci-pas#2.1.0" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ig_a | Yes | ||
| ig_b | Yes | ||
| mode | Yes | ||
| risk | No | ||
| counts | Yes | ||
| notice | Yes | ||
| summary | Yes | ||
| truncated | Yes | ||
| full_report | Yes | ||
| top_findings | Yes | ||
| findings_listed | Yes | ||
| comparison_notes | No | ||
| findings_omitted | Yes | ||
| comparison_status | No |