Skip to main content
Builtins catalog / nika:json_merge_patch

Data

Tool family from the canonical registry.

invoke

Call this builtin through the invoke verb.

Read this contract

This reference preserves the specification at the revision linked below. Source examples are fragments: their surrounding tasks, inputs and permissions are not supplied here. Consult engine status and nika catalog --tools --json for the installed implementation; a registry declaration is not a runtime qualification.

Usage and behavior

illustration
RFC 7396 merge patch (null deletes a key) · the delete-on-null semantics jq’s * recursive-merge does NOT provide (so this stays a genuine builtin). Plain recursive merge (no delete) is just jq '.[0] * .[1]' on a [base, overlay] input · no builtin needed. Throws · NIKA-BUILTIN-JSON_MERGE_PATCH-001 (non-object target/patch · validation_error).

Arguments

Pass the values required by the tool contract.

Permissions

Understand authority before granting effects.

Errors and recovery

Read diagnostics and choose a recovery policy.

Workflow templates

Put the fragment inside a complete workflow.

Contract provenance

Read the pinned specification · Canonical registry. Tool identity: nika:json_merge_patch. Specification revision: f8c5df2127c7. The Lab language identity is language:tool:json_merge_patch; the registry view is ecosystem:tool/nika:json_merge_patch. They refer to this contract without merging their graph identities.