remove_from_watchlist
Remove a stock symbol from your watchlist on Groww to declutter and focus on relevant investments.
Instructions
Remove a stock symbol from your watchlist
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol to remove | |
| exchange | No | Exchange | NSE |
Implementation Reference
- src/tools/watchlist.ts:63-80 (handler)Tool registration and handler definition for remove_from_watchlist in the watchlist tools file.
// ── remove_from_watchlist ───────────────────────────────── server.tool( "remove_from_watchlist", "Remove a stock symbol from your watchlist", { symbol: z.string().describe("Stock symbol to remove"), exchange: z.enum(["NSE", "BSE"]).default("NSE").describe("Exchange"), }, async ({ symbol, exchange }) => { try { const sym = normalizeSymbol(symbol); const result = await growwClient.removeFromWatchlist(sym, exchange); return mcpText(`🗑️ ${sym}.${exchange} removed from watchlist`); } catch (err) { return mcpError(normalizeError(err)); } } ); - src/client.ts:162-165 (handler)Actual API implementation for removing a stock symbol from the watchlist via GrowwClient.
async removeFromWatchlist(symbol: string, exchange: string): Promise<{ status: string; message: string }> { if (isMockMode()) return { status: "success", message: `${symbol} removed from watchlist` }; return this.request("DELETE", "/watchlist/remove", { symbol, exchange }); }