json_minify
Validates and minifies a JSON string into a single line, reducing whitespace while confirming valid JSON syntax.
Instructions
Validate and minify a JSON string to one line.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "json_minify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |