Minify small structured datasets
optimize-datasetClean and compact JSON, JSONL or CSV rows. Use for small datasets; use is-json-safe to check JSON syntax without changes. Returns text in the selected format; trims strings, deduplicates rows and may drop mostly empty columns.
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": "optimize-dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Source dataset text (maximum 4096 characters). | |
| format | No | Parsing format: auto detects, or explicitly select json, jsonl or csv. |