cancel_sip
Cancel a Systematic Investment Plan (SIP) permanently on Groww by providing the SIP ID to stop future investments.
Instructions
Cancel a SIP permanently
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sip_id | Yes | SIP ID to cancel |
Implementation Reference
- src/tools/sip.ts:120-136 (handler)The handler function for cancel_sip, which uses growwClient to cancel the SIP.
async ({ sip_id }) => { try { const result = await growwClient.cancelSIP(sip_id); const text = [ `🛑 SIP CANCELLED`, `${"─".repeat(40)}`, `SIP ID: ${result.sipId}`, `Status: ${result.status}`, `${result.message}`, ``, `⚠️ This action is permanent. You'll need to create a new SIP to resume investing.`, ].join("\n"); return mcpText(text); } catch (err) { return mcpError(normalizeError(err)); } } - src/tools/sip.ts:114-119 (registration)Tool registration for cancel_sip, including input schema definition.
server.tool( "cancel_sip", "Cancel a SIP permanently", { sip_id: z.string().describe("SIP ID to cancel"), },