json_transform
Modify JSON data by applying sequential operations such as mapping, grouping, sorting, flattening, and field selection. Requires specified file path, operations, and size limit for secure processing.
Instructions
Transform JSON data using a sequence of operations. Supports operations like mapping array elements, grouping by fields, sorting, flattening nested arrays, and picking/omitting fields. Requires maxBytes
parameter (default 10KB). Operations are applied in sequence to transform the data structure. The path must be within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxBytes | Yes | Maximum bytes to read from the file. Must be a positive integer. Handler default: 10KB. | |
operations | Yes | Array of transformation operations to apply in sequence | |
path | Yes | Path to the JSON file to transform |