add_to_cart
Add products to your PetSmart shopping cart by providing the product URL, with options to specify quantity and variant selections like size or flavor.
Instructions
Add a product to the PetSmart shopping cart. Optionally specify quantity and product variant (size, flavor, etc.).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_url": "<product_url>"
},
"name": "add_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_url | Yes | Full URL of the PetSmart product page | |
| quantity | No | Number of items to add (default: 1) | |
| variant | No | Product variant to select (e.g., size, flavor, color) |