distill_json
Compress large JSON structures by collapsing arrays and metadata while preserving error fields, with iterative budget-based compression.
Instructions
Compress JSON structures by collapsing large arrays and metadata while preserving error fields. Supports iterative budget-based 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": "distill_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_data | Yes | ||
| preserve_keys | No | ||
| collapse_keys | No | ||
| max_array_samples | No | ||
| max_depth | No | ||
| token_budget | No |