Get Indexa portfolio composition
indexa_get_portfolioRetrieve your Indexa portfolio's total value, cash, holdings, cost basis, and unrealized profit/loss. Get a full breakdown by asset class and per-position detail.
Instructions
Retrieve the current portfolio of an Indexa account: total value, cash position, and the full list of instruments currently held (ISIN, name, asset class, market value, cost basis, unrealized P/L and return %).
API response shape: { "portfolio": { "total_amount", "cash_amount", "instruments_amount", "instruments_cost", "date" }, "cash_accounts": [{ "amount", "date" }], "instrument_accounts": [{ "positions": [{ "amount", "cost_amount", "price", "titles", "instrument": { "identifier"(ISIN), "name", "asset_class", "management_company_description" } }] }] }
The Markdown output includes: grand total, cost basis, total P/L and return %, breakdown by asset class with %, and per-position detail sorted by value.
Args:
account_number (string): Indexa account ID, from indexa_get_me
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Examples:
Use when: "What's my Indexa portfolio worth?"
Use when: "Show me what funds I'm holding"
Use when: "How much am I up/down on my Indexa account?"
Don't use for: historical returns → indexa_get_performance
Don't use for: transaction history → indexa_get_transactions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_number | Yes | Indexa account number (account_number field from indexa_get_me). Example: 'NK1NUTP1'. | |
| response_format | No | Output format: 'markdown' for human-readable summary or 'json' for full structured data. | markdown |