{"uid":"cap__CbeXnMzCMzRhrMv2wV1t","slug":"json-object-deep-merge-ccbf6220","name":"JSON Object Deep Merge","description":"JSON Object Deep Merge: JSON Object Deep Merge deep-merges two bounded JSON objects with right-side precedence from bounded caller-supplied values without an external provider. Call JSON Object Deep Merge before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Object Deep Merge as versioned deterministic JSON. Price: $0.00…","url":"https://api.delx.ai/api/v1/x402/json-object-deep-merge","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"left":{"type":"object","description":"Left supplied to JSON Object Deep Merge; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true},"right":{"type":"object","description":"Right supplied to JSON Object Deep Merge; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"result":{"object":{"a":{"x":1,"y":3},"b":2}},"schema":"delx/util-json-object-deep-merge/v1","status":"pass","evidence":{"retained":false,"input_sha256":"d864e9714cc079b4beb8920c5ee998ff5bd3d74cbdab3c5b279ff0a96a4f02fe","external_calls":0},"operation":"data_batch:json_object_deep_merge"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mSvWfGtVTkcK8t_cpffqs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deep-merges two JSON objects with right-side precedence, returning a merged result with counts and normalized values as deterministic versioned JSON.","exampleAgentPrompt":"Deep-merge these two JSON objects — use the right object's values wherever both share a key, and give me back the merged result: left is {\"theme\":\"dark\",\"fontSize\":14,\"notifications\":{\"email\":true}} and right is {\"fontSize\":16,\"notifications\":{\"sms\":true}}.","exampleUseCases":[{"title":"Merging defaults with user overrides","prompt":"I have a base config object {\"timeout\":30,\"retries\":3,\"logging\":{\"level\":\"warn\",\"format\":\"json\"}} and a user override {\"retries\":5,\"logging\":{\"level\":\"debug\"}} — deep-merge them so the user's values win on any conflict."},{"title":"Combining agent outputs before downstream call","prompt":"My first agent returned {\"user\":{\"name\":\"Alice\",\"role\":\"admin\"}} and my second returned {\"user\":{\"email\":\"alice@example.com\"},\"meta\":{\"version\":2}} — merge them into one payload I can hand to the next tool."},{"title":"Patching a structured plan with updates","prompt":"I have a delivery plan {\"route\":{\"origin\":\"NYC\",\"destination\":\"LA\"},\"priority\":\"standard\"} and a patch {\"route\":{\"destination\":\"SF\"},\"priority\":\"express\"} — apply the patch on top of the base plan using deep merge."}],"resultDescription":"A versioned deterministic JSON object containing the deeply merged result of the two input objects (right-side values take precedence on conflicts), along with field counts, normalized values, and a versioned result contract.","failureModes":["Either 'left' or 'right' input exceeds 128 properties limit — returns validation error","Input is not a valid JSON object (e.g. array or primitive) — returns schema error","Payment not included or insufficient — returns 402 Payment Required","Network timeout or service unavailability — returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need a reliable, deterministic, stateless deep merge of two JSON objects with explicit right-side precedence — particularly before handing structured configuration or plan data to a downstream tool with a strict schema contract. Prefer this over shallow Object.assign-style merges when nested keys must be recursively merged rather than overwritten at the top level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:53.188Z","isFirstParty":false}