map_fields
Use this tool when your workflow needs map json fields api. Input: value, mapping, omit_missing. Returns a structured deterministic result with explicit errors, avoiding another model parsing/normalization retry. Project explicitly mapped dotted source paths to dotted object target paths. Unmapped fields are omitted by design. Reject target overlaps and reserved path segments. Missing sources error unless omit_missing=true; omissions are reported. Output arrays are not constructed. 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 | ||
| mapping | Yes | ||
| omit_missing | No | ||
| 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 | |||