Convert JSON to TOON
json_to_toonConvert JSON to TOON (Token-Oriented Object Notation), a compact format that uses about 43% fewer LLM tokens than JSON on average. Best for uniform arrays of objects.
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": "<json>"
},
"name": "json_to_toon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON document to convert (as a string) | |
| delimiter | No | Array delimiter (default comma) |