diff_json
Compare two JSON documents from local files or inline strings. Produces a line-oriented diff with canonical key sorting; no external network calls.
Instructions
Diff two JSON documents (canonical key-sorted stringify, line-oriented). Local files/strings only. Does not fetch URLs or contact external services.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "diff_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jsonc | No | ||
| leftText | No | ||
| maxDiffs | No | ||
| rightText | No | ||
| leftFilePath | No | ||
| rightFilePath | No |