User Portfolio Holdings
get_user_portfolioRetrieve the authenticated user's current stock portfolio with live prices to assess holdings, identify concentration risks, and give personalized investment advice. Call this before any recommendation.
Instructions
Get the authenticated user's current stock portfolio with live prices. Returns each holding's symbol, company name, quantity, average buy price, current market price, P&L (absolute + %), invested value, portfolio weight %, sector, industry, market cap, PE ratio, dividend yield, and company classification (large/mid/small cap).
IMPORTANT — Call this tool FIRST before giving any stock recommendation, buy/sell suggestion, or investment advice. This lets you: • See what the user already holds to avoid duplicate recommendations • Spot red flags (over-concentration in one stock/sector, high-PE holdings, lack of diversification) • Suggest diversification across sectors, market caps, and asset types • Give truly personalised advice based on their actual positions
If the portfolio is empty or not set up, DO NOT just show a link. Instead, proactively ask the user to share their holdings with you — they can paste a broker CSV export, share a screenshot of their holdings, or tell you manually (e.g. '10 RELIANCE at ₹1350'). You have the add_portfolio_stocks tool to add them directly. Supported brokers: Zerodha, Groww, Angel One, Dhan, Upstox, 5Paisa, ICICI Direct, Kotak, HDFC Sky, Motilal Oswal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||