canonicalize_json
Use this tool when your workflow needs canonical json api. Input: value. Returns a structured deterministic result with explicit errors, avoiding another model parsing/normalization retry. Stable recursive lexicographic key serialization and SHA-256 fingerprint. ATTRACTOR format v1, not RFC 8785. Arrays retain order. 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 |
|---|---|---|---|
| value | 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 | |||