Confirm or cancel a proposed trade
confirm_tradeExecute or cancel a previously proposed trade (requires the api:trade scope). REAL MONEY: decision=execute places a market order from the user's agent wallet. You MUST present the full proposal preview to the human user and obtain their explicit approval BEFORE calling this tool — NEVER call confirm_trade autonomously, and NEVER chain it automatically after propose_trade. For decision=execute, asset, side, and size_usd are required and must match the proposal's confirm_echo exactly — an integrity check that this confirmation refers to the trade the human approved (a mismatch 409s naming the field). decision=cancel needs no echo fields. Expired proposals 410 (re-propose for fresh numbers); a moved market 409s with price_drift and requires a fresh propose→approve round.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | REQUIRED for execute — echo confirm_echo.side | |
| asset | No | REQUIRED for execute — echo confirm_echo.asset | |
| decision | Yes | ||
| size_usd | No | REQUIRED for execute — echo confirm_echo.size_usd | |
| proposal_id | Yes |