Format Rego
rego_formatFormats Rego source code to canonical style using opa fmt, returning formatted output and indicating if changes were made.
Instructions
Format Rego source code using opa fmt. Returns the formatted source and a changed flag indicating whether the input was already canonical.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Rego source code to format. |