smart_optimize
Detects optimal compression for JSON data and applies it to reduce token usage without loss of information.
Instructions
Automatically detect and apply optimal compression
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": "smart_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_data | Yes | JSON data to optimize | |
| profile | No | Optimization profile (speed, balanced, size) | balanced |