import_statement
Imports bank-statement CSV files into a local SQLite database, detecting duplicates on re-import so the same file adds no duplicate rows.
Instructions
Import a bank-statement CSV. Re-importing the same file adds no duplicates.
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>",
"account": "<account>"
},
"name": "import_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'auto' detects monobank-style headers; 'generic' needs a mapping. | auto |
| account | Yes | Account name to store rows under. | |
| file_path | Yes | Absolute path to the CSV statement. | |
| mapping_path | No | TOML column mapping, required for 'generic'. | |
| auto_categorize | No | Run rule-based categorization on new rows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| account | Yes | ||
| date_to | Yes | ||
| currency | Yes | ||
| warnings | Yes | ||
| date_from | Yes | ||
| rows_total | Yes | ||
| categorized | Yes | ||
| rows_inserted | Yes | ||
| account_created | Yes | ||
| rows_skipped_duplicates | Yes |