You are here:
B2C Shopper Agent | Cart Subagent
The Cart subagent manages the full cart lifecycle. This subagent adds products and variants, views the cart summary, updates lines, and applies promotion and coupon codes.
| Subagent Name | Subagent Handles | Actions |
|---|---|---|
cart |
Manages requests, such as:
|
|
Response component: cart. Pulls the standard product components.
To customize it:
cart_tool_calling_guidance—cart-scoped tool guidance. The default rule enforces that the subagent adds only variant-level IDs. It also determines whether the agent asks the shopper to pick a variant when the shopper doesn't specify one.enable/disable—controls use of the Cart subagent. If your storefront handles cart functions elsewhere, comment out the Cart subagent to remove the route. You can restore the Cart instructions.- SFRA or SCAPI—set
useSfraApitotrueto route cart actions through SFRA. Set it tofalseto route through SCAPI.
