Preview an import
import_previewDry-run parse expense data from Splitwise, Splid, Tricount or Settle Up CSV files or receipt text, showing parsed rows, member mappings, and conflicts before commit.
Instructions
Dry-run parse of expense data exported from another app (Splitwise, Splid, Tricount or Settle Up CSV) or pasted receipt text, without writing anything. Call this first, then import_commit with the same source and payload. Returns parsed (expense rows), payloadHash, memberMapping (file name to member id or null), conflicts (names still unmapped), members (active members of the flat), rejected (rows that could not be parsed) and fuzzyNames (names matched only approximately; check them). Names are matched to members automatically, and any entry you pass in memberMapping overrides that match. Rate limit: 10 previews per hour per member.
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": {
"source": "<source>",
"payload": "<payload>"
},
"name": "import_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Format of payload: splitwise_csv (Splitwise export), splid_csv (Splid export), tricount_csv (older Tricount exports; Tricount dropped export in 2024), settleup_csv (Settle Up export) or ocr_text (text read from a receipt or screenshot). | |
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. | |
| payload | Yes | The complete file or text content as one string, unmodified (max 5 MiB for CSV, 1 MiB for ocr_text, 2000 rows). Pass the identical string to import_commit. | |
| memberMapping | No | Optional overrides that map a name exactly as written in the file to a member id from members_list, or null for no member. Omit it to rely on automatic name matching, then repeat the call with corrections for entries in conflicts or fuzzyNames. |