json_diff
Compare two JSON objects and find differences.
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": {
"json1": "<json1>",
"json2": "<json2>"
},
"name": "json_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json1 | Yes | First JSON string | |
| json2 | Yes | Second JSON string |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| valid | No | ||
| identical | No | ||
| differences | No | ||
| change_count | No |