get_portfolio_context
Normalized portfolio view of all connected exchange accounts + MT5 + paper.
Takes no parameters; returns ONLY the accounts of the user whose key the
connection was made with.
IMPORTANT (crypto accounts): "balance"/"equity" is the futures wallet ONLY.
The spot wallet balance is in the separate "spot_balance" field (there MAY be
money on spot even when futures shows 0 — check spot_balance before telling a
user they have no balance).
IMPORTANT (forex/MT5 accounts): check the "positions_source" field on each
account. "live_ea" means the position list is real data verified by the MetaTrader 5
Expert Advisor (EA) AlgoVesta runs on its managed terminal.
"unavailable" means the EA/terminal could not be reached — in that case
positions=[] does NOT mean "no open positions", only that it could not be
verified: the open-position state of that account is unknown at that moment, not
empty.
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_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||