Add a tax lot
add_manual_lotAdd an opening-balance tax lot with acquisition date, quantity and unitCost — the per-unit acquisition cost in the dashboard DISPLAY currency. unitCostEur is its deprecated twin, the same figure under the legacy name (never a euro conversion) — send one or the other, never both. No broker trade is placed.
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": {
"symbol": "<symbol>",
"date": "<date>",
"qty": "<qty>",
"unitCostEur": "<unitCostEur>"
},
"name": "add_manual_lot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | ||
| date | Yes | ||
| note | No | ||
| source | No | ||
| symbol | Yes | ||
| dashboardId | No | Which live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected. | |
| unitCostEur | Yes | Acquisition cost per unit, in EUR — genuinely euros, not the display currency; the engine converts it at the lot's own acquisition date. | |
| idempotencyKey | No | ||
| expectedRevision | No |