fetch_account_summary
Retrieve the authenticated account's equity, margin usage, PnL rollup, and authoritative withdrawable balance for account oversight. Requires API credentials; fails closed with 502 if unavailable.
Instructions
Get the authenticated account's portfolio summary (equity, margin usage, PnL rollup) — a richer view than fetch_balance. Includes withdrawable: the engine-authoritative free margin floored at zero, i.e. exactly what can leave the account (never negative). Because withdrawable comes from that authoritative margin view, this call fails closed with a 502 (authoritative_margin_unavailable) when the view is unavailable rather than returning a local estimate: retry after a short delay, do NOT read the error as a flat or empty account. Requires API credentials.
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": "fetch_account_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||