export_categorized_csv
Export categorized bank transactions to a new CSV file with date, merchant, amount, and category columns. Refuse unsafe overwrites to protect existing files.
Instructions
Write the categorized transactions to a new CSV file (id,date,description,merchant,amount,category,kind,source). Refuses to overwrite an existing file unless overwrite is true, and even then only replaces files this tool previously exported. Ask the user before setting overwrite.
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": {
"file_path": "<file_path>",
"output_path": "<output_path>"
},
"name": "export_categorized_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the bank-export CSV on this machine. | |
| overwrite | No | Replace output_path if it is an earlier export from this tool (default false). | |
| column_map | No | Exact header names, only needed when auto-detection fails. | |
| date_format | No | Order of numeric dates such as 03/04/2025. Default auto-detects. | |
| output_path | Yes | Absolute path for the new .csv file. | |
| amount_convention | No | Sign convention for a single Amount column. Default auto-detects. |