Add the product the shopper is currently viewing to the cart, using the size/colour already selected on the page. Requires an open product page. If none is open, the result includes an `openUrl` for the product page — navigate there, then call this again. Programmatic add by product id is not yet supported.
Baerskintactical source site9 tools on this site
What this tool does
Add the product the shopper is currently viewing to the cart, using the size/colour already selected on the page. Requires an open product page. If none is open, the result includes an `openUrl` for the product page — navigate there, then call this again. Programmatic add by product id is not yet supported. Use it on Baerskintactical with an agent. It runs in the browser on the website and needs no package install.
How to install
Open the baerskintactical.com website and ask your browser agent to use add_to_cart
Run with an agent
Use the add_to_cart tool on baerskintactical.com with productId: <string>, quantity: <integer>. Return the structured result and cite the source page.
Input contract
productIdstringProduct slug. Used only for the deep link when no product page is open; ignored for the contextual add.
quantityintegerQuantity (default 1, max 10)
Verify the live listing at the source before a production call. Fields marked as a starter contract may differ from what the site expects.