Save size/fit
set_user_prefsSaves a shopper's default size or fit to their allover.art account so future chats can skip asking for it; use only when they state or ask to remember a preference.
Instructions
Save the shopper's default size and/or fit on their allover.art account, so later chats can skip asking. Call it only when the human states a size or fit or asks you to remember one; read it back with get_user_prefs. Pass only what they stated: an omitted field keeps its saved value, an empty string clears it. size is XS, S, M, L, XL or 2XL–5XL (case-insensitive); fit is basic or oversized. The saved size fills in add_to_cart when size is omitted, and the fit maps to search_products style (basic → tee, oversized → oversized). Any other value returns an error and saves nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Fit preference: basic or oversized; empty string clears it. | |
| size | No | Default size: XS, S, M, L, XL, 2XL…5XL; empty string clears it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | ||
| size | No | ||
| error | No |