Quick sell a position
quick_sellSell a token the user holds, in ONE step, at market — quote and execute happen together on the server, so it never fails on an expired quote while you wait for the user. This is THE tool to close or trim a position. ⚠️ THIS SPENDS REAL MONEY. It submits a real transaction from the user's wallet using real funds and cannot be undone. Confirm the exact amount, token and network with the user in plain language, and get their explicit go-ahead, BEFORE calling this. Confirm the token and how much (pct of the position, default 100 = sell it all) in words first.
Sizing: pct is a percent of the CURRENT on-chain balance (the get_my_token_balance number); omit it to sell everything. Proceeds land in USDC in the same agent wallet — output_token names it. Response: sold_amount (token units submitted), pct, status, transaction_signature, the expected proceeds (quoted_output_amount_ui, at least minimum_output_amount_ui), slippage_bps, and the received amount (filled_output_amount_ui) once booked. Response includes quote_id; when fill_pending is true, call get_swap_status(request_id=quote_id). AMOUNTS: read the _ui fields (whole tokens) when talking to the user — the un-suffixed output_amount / minimum_output_amount / filled_*_amount are in the token's SMALLEST unit. A null amount is unknown, never zero: fill_pending: true means the trade was submitted but its fill is not booked yet — say so, and read the received amount from get_swap_status rather than guessing it.
Selling the whole position also cancels EVERY resting TP/SL order on that token (all lots) in the same call: cancelled_order_ids lists them, cancel_failed_order_ids / cancel_pending_order_ids (+ cancel_note) any not cancelled yet, which Moby keeps retrying. A partial sell leaves them (those fields are null). A sell is never blocked by market cap, safety rating or the trade limits (and does not use up the daily volume), but the market order-type switch applies (a refusal comes back as {blocked: true, reason, ...}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pct | No | Percent of the current balance to sell, 1-100. Default 100 = close it. | |
| network | No | solana | |
| token_address | Yes | Contract address of the HELD token to sell. Get it from `get_my_balances`. | |
| max_slippage_bps | No | Slippage tolerance in basis points (100 = 1%). Omit for Moby's default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||