clean_json
Normalize JSON deterministically: trim strings, normalize object keys, optionally remove empty values, and sort keys for stable downstream processing. One successful call consumes 1 HumanMirror Forge credit.
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": {
"input": "<input>"
},
"name": "clean_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Any JSON value to normalize. | |
| options | No |