json_diff
Compare two JSON objects and return a structured diff with additions, deletions, and changes using JSONPath locations. Ideal for API responses, config files, or database records.
Instructions
Compare two JSON objects and return a structured diff. Shows additions, deletions, and changes with JSONPath locations. Useful for comparing API responses, config files, or database records.
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>",
"modified": "<modified>"
},
"name": "json_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modified | Yes | Modified JSON (after) | |
| original | Yes | Original JSON (before) | |
| ignore_order | No | Ignore array element ordering (default: false) |