json_to_csv
Convert JSON records or a local JSON array file to CSV, optionally writing to an output path. Processes local files only, never uploading user data.
Instructions
Convert JSON records (or a local JSON array file) to CSV; optionally write to outputPath. Local files only — never uploads user data anywhere.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "json_to_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headers | No | ||
| records | No | Inline array of objects (alternative to jsonPath). | |
| jsonPath | No | Path to JSON file (array of objects). | |
| outputPath | No | If set, write CSV to this local path. |