tool_json_format
Format JSON strings with configurable indentation and key sorting, plus minify option for compact output.
Instructions
[data] JSON Format
Parameters:
data (string): Data
indent (number): Indent
sortKeys (boolean): Sort Keys
Outputs:
formatted (string): Formatted
minified (string): Minified
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": "tool_json_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Data | |
| indent | No | Indent | |
| minified | No | Minified | |
| sortKeys | No | Sort Keys | |
| formatted | No | Formatted |