# KEVAREMESH JSON Merge Patch

> KEVAREMESH JSON Merge Patch is a paid API for AI agents from kevaremesh-web.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Applies an RFC 7396 JSON Merge Patch to a target JSON object, merging or deleting keys according to the patch document.

## Facts

- Endpoint: POST https://kevaremesh-web.vercel.app/api/x402/json-merge-patch?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kevaremesh-json-merge-patch-2579f839
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tSL-BXArp9caQ2pUKl_Hf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kevaremesh-json-merge-patch-2579f839 -d '<json body>'
```

Example prompt: Merge this patch {"a":"z","b":null} onto my target object {"a":"x","b":"y","c":{"d":"e"}} using RFC 7396 semantics — null values should delete keys.

## When to prefer this

Choose this endpoint when you need a standards-compliant RFC 7396 JSON Merge Patch operation without setting up your own JSON processing library. It is ideal for agents that need to partially update JSON configuration objects, delete specific keys via null, or merge API responses on the fly. Prefer it over a full JSON Patch (RFC 6902) when you want simpler merge semantics rather than operation-by-operation instructions.

## Known failure modes

- Input exceeds 256 KiB combined limit — request rejected
- Malformed JSON in target or patch — parse error returned
- Missing required fields (target or patch) — validation error
- Payment not completed — 402 response with payment details
- Network timeout if Vercel cold start is slow

## How this service works

Buyer-first MCP procurement gateway that discovers, compares and routes live x402 APIs without making the buyer choose a provider.

## Output

Returns the merged JSON object after applying the patch per RFC 7396 semantics, along with the RFC reference label, output type, service name, tool name, limitations (null deletes keys, arrays replaced not merged, max 256 KiB combined input), and a generated_at timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "patch": {},
  "target": {}
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "rfc": "RFC 7396",
   "merged": {
    "a": "z",
    "c": {
     "d": "e"
    }
   },
   "merged_type": "object"
  },
  "product": "kevaremesh_json_merge_patch_v2",
  "service": "KEVAREMESH",
  "tool_name": "kevaremesh_json_merge_patch",
  "limitations": [
   "RFC 7396 semantics",
   "Null object members delete keys",
   "Arrays are replaced rather than merged",
   "Maximum combined input 256 KiB"
  ],
  "generated_at": "2026-09-18T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kevaremesh-json-merge-patch-2579f839/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kevaremesh-web.vercel.app](https://www.zero.xyz/host/kevaremesh-web.vercel.app/llms.txt)
