get_portfolio_overview
Get a complete portfolio overview: current price and value for every position, plus totals and P&L. Handles bond pricing and verifies figures against Darwin's data.
Instructions
The whole picture in one call: every position with its current price and value, plus portfolio totals and P&L. Prefer this over get_positions when the question is about how the portfolio is doing or what it is worth.
Darwin does not report a current price, so price and value are derived from
the average price and the theoretical gain. Do not compute values yourself
from get_positions: bonds (symbols starting M.) are quoted as a
percentage of nominal, so quantity times price overstates them 100-fold.
This tool handles that and then checks its own arithmetic against Darwin's
reported figures — if reconciliation.reconciled is False, say so and quote
the residual rather than presenting the totals as fact.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_portfolio_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||