get_total_wealth
Aggregate wealth across the user's main account + every live vault. Returns per-leg breakdown (wallet + Morpho + YO for main; wallet-only for vaults) plus per-currency totals (USDC, EURC, CHFAU, CADD, MXNB) and combined totalUsd/totalEur grand totals. USDC/EURC are cross-converted using the on-chain Aerodrome rate; CHFAU, CADD and MXNB keep their own columns but are also folded into totalUsd/totalEur using their fiat rates (MXNB via its Aerodrome pool). MXNB includes the Juno MXNB Prime Morpho vault. stocksUsd is the value of stocks and ETFs in the brokerage account at the latest delayed quote, and cryptoUsd the value of crypto held in the main account and every vault at the current reference price (both 6-decimal USD; null means it could not be priced, not zero). The app's Total wealth adds both on top of the currency totals; the app prices crypto at what selling now would return, so its figure can differ slightly. stockPositions and cryptoPositions list each held asset (symbol, quantity in whole units, valueUsd, costUsd, realizedUsd): use them for 'how much crypto do I hold', 'what is my bitcoin worth' (cbBTC) or 'what stocks do I own'. costUsd is what the user paid for the position, so valueUsd minus costUsd is how much they are up or down; null means the cost is not on record (for example tokens received from outside), so do not report a gain or loss for it. realizedUsd is the profit or loss the user already locked in by selling part of that position (negative for a loss), separate from the unrealized figure: quote it for 'how much have I made selling X'; null means it is not on record, so say so rather than zero. closedStockPositions lists stocks and ETFs the user has sold all of, each with realizedUsd (what selling it made or lost): use it for 'how did my Tesla trade end up' or 'what have I made on stocks I sold'. closedCryptoPositions is the same for crypto the user bought in the app and has fully sold; a token they moved in or out some other way is left out, so absence does not mean no profit or loss. Both are history, not holdings, and are in no total. totalWealthUsd is everything combined (currencies + stocks + crypto) in 6-decimal USD, null when any part could not be valued: quote it for 'what is my total balance' instead of adding legs yourself. otherCryptoPositions lists any other listed tokens in the account at a reference price (valueUsd may be null); they are shown in the app but NOT counted in cryptoUsd or totalWealthUsd, so mention them separately.
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_total_wealth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||