rsnc_agent_route_purchase
Find the best brand to buy from based on cashback and rewards. Given a shopping intent, compares all matching brands and ranks them by total reward value — cashback earned, perks redeemable, and effective savings. The core purchase intelligence tool for agentic commerce.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | What the user wants to buy — e.g. "running shoes", "coffee", "hotel in NYC". | |
| userId | No | Optional user ID for personalized routing — factors in existing balances and redeemable perks. | |
| category | No | Direct category filter (retail, dining, travel, gaming). | |
| purchaseAmount | No | Expected purchase amount in USD. Used to calculate exact cashback and savings. |