Portfolio summary
account_portfolio_summaryRetrieves your Stockbit account portfolio totals, including equity, invested capital, market value, unrealized and today's gain/loss, and cash balance, in IDR across all portfolios.
Instructions
Totals of the account: equity, invested, market value, unrealized and today's gain/loss, cash.
Needs the trading session (stockbit-mcp login --trading). Values IDR; lots of 100 shares.
Returns (Stockbit's data field): {message, data:{aggregated_portfolio_summary:, summary_per_portfolios:[{account_number, portfolio_name, summary:}]}}; summary = {trading:{balance}, amount:{invested,allocated,credit_limit}, profit_loss:{net,unrealised,realised}, gain, equity, debt:{ratio,total,market_value,buffer}}.
Endpoint: GET carina /portfolio/v2/summary.
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": "account_portfolio_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||