convert_to_toon
Convert JSON data to TOON format with selectable compression levels to optimize token usage.
Instructions
Convert JSON to TOON format with specified compression level
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_data": "<json_data>"
},
"name": "convert_to_toon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_data | Yes | JSON data to convert | |
| level | No | Compression level (1=MINIMAL, 2=STANDARD, 3=AGGRESSIVE, 4=EXTREME) |