Preview executing a recommendation
execute_recommendationPreview executing one of YOUR pending recommendations from YOUR agent wallet (requires the api:trade scope). This does NOT place anything. It stages the same plan the Gambit app's Execute button runs — side, size and notional from the recommendation, its take-profit / stop-loss orders, leverage (default 1x, capped at the API ceiling) — as a proposal in the user's AGENT deposit wallet (never the main wallet), and returns proposal_id, an expiry, the plan, notes, and confirm_echo. Present the full preview to the human user. Only after their explicit approval, call confirm_trade with this proposal_id and the confirm_echo asset/side/size_usd; NEVER call confirm_trade autonomously or chain it automatically after this tool. recommendation_id is a list_recommendations(status=pending) id. Advisory rows (every generate_recommendation result, and the recommendation an evaluate_opportunity answer from Gambit's view records) answer 409 advisory_not_executable: record a response with respond_to_recommendation, or size a separate propose_trade. A recommendation that is not yours answers 404. A stale or invalidated recommendation answers 409 recommendation_not_executable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leverage | No | ||
| slippage_bps | No | ||
| recommendation_id | Yes |