winops_json_patch
Deep-merge new data into existing JSON files, creating the file when missing. Applies nested updates to specified keys.
Instructions
Deep-merge patch data into an existing JSON file (creates file if missing).
Return Format
{"success": bool, "path": str, "updated_keys": [str]}Examples
patch(path="D:\\config\\app.json", data={"logging": {"level": "DEBUG"}})Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Dict of keys to deep-merge into the existing file. | |
| path | Yes | JSON file to patch. | |
| indent | No | Indentation spaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||