Compare two payloads
compare_payloadsCompare two synthetic FHIR payloads (a resource or a Bundle each, 1 MB at most per side) and report where they differ: which rows are missing or extra, which field paths changed, and counts. It returns no field values; it lists up to 200 rows and 300 field paths (the paths come from the key names in the payloads) and counts the rest. Synthetic data only. The payloads are sent to imonfhir.com for the call and the site does not store them; the browser Compare tool at /lab/compare keeps them on your machine.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "compare_payloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | A FHIR resource or Bundle (a JSON object, or a string holding one). Synthetic only. | |
| b | Yes | The payload to compare it with, in the same form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| stats | Yes | ||
| notice | Yes | ||
| identical | Yes | ||
| truncated | Yes | ||
| rows_listed | Yes | ||
| paths_listed | Yes | ||
| rows_omitted | Yes | ||
| paths_omitted | Yes |