tool_json_format
Format JSON strings by pretty-printing for readability or minifying for compactness.
Instructions
Pretty-print or minify a JSON string.
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": {
"json_string": "<json_string>"
},
"name": "tool_json_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minify | No | ||
| json_string | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |