diff_json
Use this tool when your workflow needs json diff api. Input: before, after. Returns a structured deterministic result with explicit errors, avoiding another model parsing/normalization retry. Generate deterministic JSON Patch add/remove/replace operations. Root path is empty string. Changed arrays are replaced whole. Does not execute patches or prove causality. Limits: request 24 KB, JSON depth 24, 4,000 nodes. Reserved prototype keys and unsafe integers rejected. Inputs processed transiently; private HMAC trace metadata retained.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| before | Yes | ||
| attractor_trace_id | No | Optional public correlation handle from a prior result; not authentication or proof of identity. | |
| attractor_knowledge_id | No | Optional prior result handle. Reuse is counted only when the supplied value matches that result fingerprint. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||