Reorder from Rappi order history. Use when the user wants to order the same thing again, reorder, or mentions a past order.
Help the user reorder from their order history.
Call get_order_history(limit=10) to fetch recent orders.
If no history exists, tell the user they haven't placed any orders yet and suggest using /order-food.
Present past orders in a numbered list:
If the user wants details about a specific order:
get_order_detail(order_id) for the full summaryget_order_breakdown(order_id) for fee breakdownAsk the user which order they want to reorder (by number).
Call quick_reorder(order_id) with the selected order's ID.
Call view_cart to show what's in the cart now.
If some items failed, ask if they want to proceed with what was added or find replacements.
Set the tip: call set_tip(tip_amount) — check preferences for a default tip amount.
Call checkout(confirm=false) to show the order summary.
get_credits_balance() if they have Rappi creditscheckout(confirm=true) to place the order.track_order(order_id).Prices are in COP — format as $35.500.