JSON Formatter
format_jsonValidate and pretty-print JSON with a real parser. Returns formatted JSON or the exact parse error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | The JSON text to validate and format | |
| indent | No | Spaces per indentation level, 0 to 8 (default 2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | No | Whether the input passed every check | |
| output | No | The final output of the workflow | |
| result | No | The result, when it is not an object |