{
  "name": "json.diff",
  "group": "data",
  "summary": "Structural difference between two JSON documents, as RFC 6902-style operations.",
  "description": "Compares two JSON documents key by key and reports every addition, removal and change with a JSON Pointer path. Key order and formatting are ignored, so it answers 'did the data actually change' rather than 'did the bytes change' — the right check for API responses and config drift.",
  "keywords": [
    "json diff",
    "compare json",
    "json patch",
    "config drift",
    "object diff",
    "api response changed"
  ],
  "endpoint": "https://fluentedi.com/v1/json/diff",
  "mcp_name": "json_diff",
  "makes_network_request": false,
  "parameters": {
    "type": "object",
    "properties": {
      "a": {
        "description": "First document (object or JSON string).",
        "maxLength": 1000000
      },
      "b": {
        "description": "Second document (object or JSON string).",
        "maxLength": 1000000
      }
    },
    "required": [
      "a",
      "b"
    ],
    "additionalProperties": false
  },
  "examples": [
    {
      "description": "Spot a config change",
      "url": "https://fluentedi.com/v1/json/diff?a=%7B%22replicas%22%3A2%2C%22image%22%3A%22app%3A1.0%22%7D&b=%7B%22replicas%22%3A3%2C%22image%22%3A%22app%3A1.1%22%2C%22tls%22%3Atrue%7D",
      "args": {
        "a": "{\"replicas\":2,\"image\":\"app:1.0\"}",
        "b": "{\"replicas\":3,\"image\":\"app:1.1\",\"tls\":true}"
      }
    }
  ],
  "suggestion": null
}