Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Alert disable
LONGBRIDGE_MCP_ALERT_DISABLEDisable a price alert by alert_id. Use alert_list to find the numeric alert_id.
Alert enable
LONGBRIDGE_MCP_ALERT_ENABLEEnable a price alert by alert_id. Use alert_list to find the numeric alert_id.
Cancel order
LONGBRIDGE_MCP_CANCEL_ORDERCancel an open order by order_id. Returns plain text "order cancelled" on success; errors if the order is already filled or cancelled. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed that exact order. The code is derived from the order itself, so it applies only to that exact order. Never quote it back on your own initiative, and never in the same turn the user first asks. The dry run also echoes the order being targeted so the user can verify it is the right one. Set is_attached=true to cancel a single take-profit/stop-loss leg by its own order_id; cancelling a parent order cancels its legs along with it.
Dca pause
LONGBRIDGE_MCP_DCA_PAUSEPause (suspend) a DCA plan by plan_id. The plan stops executing until resumed. Returns upstream API response. Use dca_resume to restart.
Dca resume
LONGBRIDGE_MCP_DCA_RESUMEResume a suspended DCA plan by plan_id. Resumes automated execution on the configured schedule. Returns upstream API response.
Dca stop
LONGBRIDGE_MCP_DCA_STOPPermanently stop a DCA plan by plan_id. This cannot be undone. To temporarily pause, use dca_pause instead. Returns upstream API response.
Dca update
LONGBRIDGE_MCP_DCA_UPDATEUpdate an existing DCA plan by plan_id. Can change amount, frequency (Daily/Weekly/Monthly), day_of_week (Mon-Fri), or day_of_month (1-28). Returns updated plan.
Grid cancel
LONGBRIDGE_MCP_GRID_CANCELCancel (terminate) a grid order by order_id. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative.
Grid replace
LONGBRIDGE_MCP_GRID_REPLACEReplace an existing grid order's rule by order_id. Accepts the same grid rule fields as grid_submit. Overwrites the order's entire rule. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative. The dry run echoes the rule that would replace the current one.
Grid restart
LONGBRIDGE_MCP_GRID_RESTARTRestart (resume) a suspended grid order by order_id. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative. A restarted grid resumes placing orders on its own.
Grid suspend
LONGBRIDGE_MCP_GRID_SUSPENDSuspend (pause) a running grid order by order_id. Resume with grid_restart. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative.
Replace order
LONGBRIDGE_MCP_REPLACE_ORDERModify an open order's quantity, price, trigger_price, or trailing params. Returns "order replaced" on success. Only open/pending orders can be modified. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed that exact order. The code is derived from the order itself, so it applies only to that exact order. Never quote it back on your own initiative, and never in the same turn the user first asks. The dry run echoes the current order alongside the requested change. Attached take-profit/stop-loss legs are changed here too: attached_order_type with the new attached_profit_taker_price / attached_stop_loss_price adds or reprices a leg, attached_profit_taker_id / attached_stop_loss_id target an existing leg, and attached_cancel_all=true removes every leg while leaving the order in place.
Sharelist add
LONGBRIDGE_MCP_SHARELIST_ADDAdd securities to a community sharelist by id. Provide symbols (e.g. ["AAPL.US", "700.HK"]) to add. Returns upstream API response.
Sharelist remove
LONGBRIDGE_MCP_SHARELIST_REMOVERemove securities from a community sharelist by id. Provide symbols to remove. Returns upstream API response on success.
Sharelist sort
LONGBRIDGE_MCP_SHARELIST_SORTReorder securities in a community sharelist by id. Provide symbols in the desired new order. Returns upstream API response on success.
Update watchlist group
LONGBRIDGE_MCP_UPDATE_WATCHLIST_GROUPUpdate a watchlist group by id. Can rename (name param) or modify securities (securities + mode: add/remove/replace).