minify_json
Reduce JSON or JSONC to a single line using local files or inline strings, with an optional output file. Operates offline with no external requests.
Instructions
Minify JSON to one line. Local files/strings only. Does not fetch URLs or contact external services.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "minify_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Raw JSON/JSONC string (alternative to filePath). | |
| filePath | No | Local JSON/JSONC file path. | |
| outputPath | No |