json_format
Pretty-print a JSON string with configurable indentation, or minify it to reduce size.
Instructions
Format (pretty-print) a JSON string with configurable indentation. Can also minify JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The JSON string to format | |
| indent | No | Number of spaces for indentation (0 = minify, default: 2) |