json_diff
Compare two JSON documents and return deterministic JSON Pointer paths that were added, removed, or changed. Example: {before: '{"quantity":7}', after: '{"quantity":6}'}.
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": {
"before": "<before>",
"after": "<after>"
},
"name": "json_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Updated document as JSON text. | |
| before | Yes | Original document as JSON text. | |
| maxChanges | No | Maximum JSON Pointer changes to return. | |
| operationId | No | Stable unique request identifier. Reuse it only for an exact retry. | |
| workspaceToken | No | Secret API token for the workspace; keep it private. |