parse_portfolio_csv
Turns pasted broker CSV or ledger text into analyze_portfolio transactions. Use to extract supported transactions from actual pasted broker CSV or ledger text. Require the source text and actual base currency, report missing/unreadable values, and never create transactions or assume EUR. Output rows can be sent to analyze_portfolio.
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": {
"text": "<text>",
"baseCurrency": "<baseCurrency>"
},
"name": "parse_portfolio_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Pasted broker CSV or ledger lines (date + type + amount per row). | |
| baseCurrency | Yes | Actual base currency used for the parsed portfolio. Required; do not assume EUR. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series | No | ||
| parsedRows | No | ||
| assumptions | No | ||
| skippedRows | No | ||
| baseCurrency | No | ||
| transactions | No | ||
| subPortfolios | No | ||
| parseConfidence | No |