place_stop_order
Place a stop-loss: sell amount tokenIn for tokenOut if the price falls to triggerPrice (tokenOut per tokenIn). Keeper-executed. Queued under an active agent grant that covers it, otherwise returns an approval link (status needs_approval). Use place_limit_order to sell ABOVE the market (take profit); this tool is for protection BELOW it. Autonomous stops enforce a signed minimum and may remain unfilled after a price gap. HUMAN units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | optional one-line reason shown to the user (≤ 140 chars) | |
| amount | Yes | amount of tokenIn to sell, HUMAN units, decimal string | |
| tokenIn | Yes | ERC-20 address being sold when the stop triggers (0x-hex) | |
| tokenOut | Yes | ERC-20 address received (0x-hex), usually USDG | |
| requestId | No | stable 32 lowercase hex characters for this trade; required for autonomous execution, reuse unchanged when retrying | |
| slippageBps | No | slippage tolerance for the fill in basis points (default 100) | |
| triggerPrice | Yes | stop trigger in tokenOut per 1 tokenIn, decimal string — strict floor stop order; may remain unfilled if the price gaps below its minimum |