Convert JSON, CSV, YAML and XML
data_convertConvert JSON to CSV, YAML, or XML and CSV to JSON, YAML, or XML, with header rows as keys and typed numbers and booleans. Handles quoted CSV fields and nested JSON.
Instructions
Convert data between formats: JSON to CSV, YAML or XML, and CSV to JSON, YAML or XML (header row becomes keys, numbers and booleans typed). Handles quoted CSV fields and nested JSON. Costs $0.001 per call.
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": {
"data": "<data>",
"from": "<from>",
"to": "<to>"
},
"name": "data_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Output format. | |
| data | Yes | The input text (JSON or CSV). | |
| from | Yes | Input format. | |
| delimiter | No | CSV delimiter for input. Default ",". Use "\t" for TSV. |