winops_json_write
Write JSON data to a file at the specified path, creating parent directories automatically when they do not exist. Returns the file path and success status for confirmation.
Instructions
Write data to a JSON file, creating parent directories as needed.
Return Format
{"success": bool, "path": str}Examples
write(path="D:\\config\\settings.json", data={"debug": true})Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data to serialise as JSON. | |
| path | Yes | Destination file path. | |
| indent | No | Indentation spaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||