Variable: jsonFormatTool
ts
const jsonFormatTool: Tool<SpooledArtifact>;Defined in: batteries/tools/structured_data/index.ts:118
Pretty-print or minify a JSON string.
Remarks
Validates the input as JSON, then re-serialises it with the requested indentation. indent is clamped to the range [0, 8]; 0 produces minified output.