Add a product to the signed-in user cart. Identify the product by `slug` (preferred), `productId`, or `name` (fuzzy). If none are provided AND the user is on a /p/<slug> page, the product on screen is used. Quantity defaults to 1. Optional variantId. Requires sign-in (use sign_in_demo if needed).
Tryrankly source site14 tools on this site
What this tool does
Add a product to the signed-in user cart. Identify the product by `slug` (preferred), `productId`, or `name` (fuzzy). If none are provided AND the user is on a /p/<slug> page, the product on screen is used. Quantity defaults to 1. Optional variantId. Requires sign-in (use sign_in_demo if needed). Use it on Tryrankly with an agent. It runs in the browser on the website and needs no package install.
How to install
Open the store.tryrankly.com website and ask your browser agent to use add_to_cart
Run with an agent
Use the add_to_cart tool on store.tryrankly.com with slug: <string>, productId: <string>, name: <string>, quantity: <integer>, variantId: <string>. Return the structured result and cite the source page.
Input contract
slugstring
productIdstring
namestring
quantityinteger
variantIdstring
Verify the live listing at the source before a production call. Fields marked as a starter contract may differ from what the site expects.