Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Account balance
LONGBRIDGE_MCP_ACCOUNT_BALANCEGet account cash balance and asset summary. Returns balances[]{currency, total_cash, max_finance_amount, remaining_finance_amount, risk_level, margin_call}. Filter by currency (e.g. "USD", "HKD").
Ah premium
LONGBRIDGE_MCP_AH_PREMIUMGet A/H share premium historical K-line data. Returns items[]{timestamp, open, high, low, close} representing the premium percentage over the given period.
Ah premium intraday
LONGBRIDGE_MCP_AH_PREMIUM_INTRADAYGet A/H share premium intraday time-share data. Returns items[]{timestamp, premium_rate} showing the intraday A/H premium percentage minute by minute.
Alert add
LONGBRIDGE_MCP_ALERT_ADDAdd a price alert. condition: price_rise/price_fall (absolute price) or percent_rise/percent_fall (relative %). frequency: once/daily/every. Returns created alert object.
Alert delete
LONGBRIDGE_MCP_ALERT_DELETEDelete a price alert by alert_id (numeric string from alert_list). Returns upstream API response on success; errors if alert_id is invalid.
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.
Alert list
LONGBRIDGE_MCP_ALERT_LISTGet all configured price alerts.
Anomaly
LONGBRIDGE_MCP_ANOMALYGet market anomaly alerts (unusual price/volume changes). market: HK/US/CN/SG. symbol: optional, filter to a specific stock. count: results per page (default 50, max 100).
Bank cards
LONGBRIDGE_MCP_BANK_CARDSList linked withdrawal bank cards for the current account. Returns cards[]{id, bank_name, account_number (masked), currency, status}.
Broker holding
LONGBRIDGE_MCP_BROKER_HOLDINGGet top broker holding data for a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure).
Broker holding daily
LONGBRIDGE_MCP_BROKER_HOLDING_DAILYGet daily holding history for a specific broker (by broker_id) in a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure).
Broker holding detail
LONGBRIDGE_MCP_BROKER_HOLDING_DETAILGet full broker holding detail list for a symbol (HK stocks only; sourced from HKEX CCASS participant disclosure).
Brokers
LONGBRIDGE_MCP_BROKERSGet broker queue (HK stocks only). Map broker IDs to names via participants.
Business segments
LONGBRIDGE_MCP_BUSINESS_SEGMENTSGet current-period business segment revenue breakdown for a symbol (name, percent, total, currency)
Business segments history
LONGBRIDGE_MCP_BUSINESS_SEGMENTS_HISTORYGet historical business segment revenue trends (by period and category).
Calc indexes
LONGBRIDGE_MCP_CALC_INDEXESCalculate financial indexes for symbols. Pass symbols, and optionally indexes (e.g. ["PeTtmRatio","PbRatio","LastDone","TurnoverRate"]). When indexes is omitted or empty, defaults to ["LastDone","ChangeValue","ChangeRate","Volume","PeTtmRatio","PbRatio","DividendRatioTtm","TurnoverRate","TotalMarketValue"]. Returns per-symbol index values.
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.
Candlesticks
LONGBRIDGE_MCP_CANDLESTICKSGet candlestick data (OHLCV). Only symbol is required; period defaults to day, count to 100 (max 1000), forward_adjust to false, trade_sessions to all. period: 1m/5m/15m/30m/60m/day/week/month/year. trade_sessions: intraday/all. If the account's entitlement caps out below the requested count, this returns as many candles as allowed instead of erroring — check the returned array length against count if an exact number matters.
Capital distribution
LONGBRIDGE_MCP_CAPITAL_DISTRIBUTIONGet capital distribution for a symbol. data_available is false for symbols with no capital-flow data (e.g. indices) — the other fields are still present but meaningless zeros in that case.