convert_format
Convert data files between JSON, YAML, TOML, XML, CSV, and INI formats. Reads input file, writes output file, with optional dry-run for preview.
Instructions
Convert between data formats: JSON, YAML, TOML, XML, CSV, INI. Reads input file and writes output file.
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_path": "<input_path>",
"output_path": "<output_path>",
"input_format": "<input_format>",
"output_format": "<output_format>"
},
"name": "convert_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview conversion without writing the target file | |
| input_path | Yes | Source file path | |
| output_path | Yes | Target file path | |
| input_format | Yes | Source format | |
| output_format | Yes | Target format |