Compare two JSON documents
compare_jsonList the differences between two JSON documents by their data, not their text: key order never counts, and array order can be ignored. Each difference has its JSONPath and both values.
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": {
"original": "<original>",
"changed": "<changed>"
},
"name": "compare_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | The second JSON document. | |
| original | Yes | The first JSON document. | |
| ignoreArrayOrder | No | Match array items by content instead of position. |