Propose a stock order (preview only)
propose_stock_orderCheck a stock order at YOUR own linked brokerage and return a preview (requires the api:stock_trade scope). This does NOT place an order. Get account_id from get_holdings (accounts[].accountId; get_holdings needs the api:portfolio scope). Rules the server enforces: US-listed stocks, ETFs and ADRs only; whole shares (units is an integer of 1 or more); order_type Market or Limit (limit_price is required for Limit and not allowed for Market); Day orders only; action BUY or SELL — a SELL cannot be more than the shares you hold, so it cannot open a short; a per-order dollar cap. The response has quote (bid, ask, last), preview (check_id, expires_at, account with a masked number, action, symbol, units, order_type, limit_price, estimated_cost, commission, buying_power_after) and confirm_echo. The check expires about 5 minutes after it is made. You MUST show the full preview to the human user. Call confirm_stock_order only after the human explicitly approves this exact order. A 403 trading_disabled means brokerage trading is not enabled for this account; a 429 means the per-minute order limit is spent (wait Retry-After seconds).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | whole shares | |
| action | Yes | ||
| symbol | Yes | US ticker, e.g. AAPL or BRK.B | |
| account_id | Yes | a brokerage account id from get_holdings accounts[].accountId | |
| order_type | Yes | ||
| limit_price | No | required for order_type Limit; not allowed for Market |