addToCart
ChatGPTAdd a part to a CarParts.com shopping cart. INPUTS: - sku (required): product SKU (e.g., "RH10010066") - productId (optional): product ID for accurate cart display - quantity (optional): number of items (default: 1) - brand (optional): product brand name - cartId (optional): existing cart ID to append items to the same cart - vehicle (optional): { year, make, model, submodel, engine } — fitment context recorded with the order RETURNS: The updated cart with all items, subtotal, and a checkout link to CarParts.com. Creates a new cart if no cartId is provided.
comparison
ChatGPTFind alternative parts for a given product in the CarParts.com catalog. INPUTS: - itemId (required): the product ID to find alternatives for - vehicle (optional): { year, make, model } to restrict alternatives to compatible parts RETURNS: A side-by-side comparison set with prices, brands, feature/spec comparisons, and quality indicators (OE, aftermarket, etc.).
discovery
ChatGPTSearch the CarParts.com catalog for auto parts. INPUTS: - query (required): part name or keywords (e.g., "brake pads", "headlights", "oil filter") - vehicle (optional): { year, make, model, submodel, liter, cylinders } to filter results by fitment RETURNS: A list of matching parts with title, brand, image, pricing, and availability.
fitment
ChatGPTCheck whether a specific part is compatible with a given vehicle. INPUTS: - partNumber (required): SKU or part number to check - vehicle (required): { year, make, model } — minimum required fields - vehicle.submodel (optional): for more precise matching - vehicle.liter, vehicle.cylinders (optional): engine specs for exact fitment RETURNS: fits (true/false), matchDetails (exact vehicle match information), and reason (explanation if the part does not fit).
productDetails
ChatGPTGet detailed product information for a specific part in the CarParts.com catalog. INPUTS: - productId (required): product ID or SKU - vehicle (optional): { year, make, model } to record fitment context RETURNS: Full product specifications and features, high-quality product images, current pricing and availability, customer ratings and reviews (if available), and installation highlights (Drop-In Fit, CAPA Certified, etc.).
shoppingCart
ChatGPTView the contents of a CarParts.com shopping cart. INPUTS: - cartId (required): the cart ID returned by a previous addToCart call RETURNS: All cart items with images, titles, and quantities; subtotal, tax, shipping, and total; and a checkout link to CarParts.com.
vehicleImages
ChatGPTGet a representative vehicle image for a given year, make, and model from CarParts.com CDN.
vehicleInfo
ChatGPTLook up vehicle data and manage vehicle context for the CarParts.com catalog. ACTIONS: - getYears: list available vehicle years - getMakes: list makes for a given year (requires vehicle.year) - getModels: list models for year/make (requires vehicle.year, vehicle.make) - getSubmodels: list trims for year/make/model (requires vehicle.year, vehicle.make, vehicle.model) - getEngines: list engines for year/make/model/submodel (requires all four) - resolveVehicle: determine the next required field and fetch options; merges with stored context if contextId is provided - getContext: retrieve stored vehicle context by contextId - setContext: store or update vehicle context by contextId - clearContext: remove stored context by contextId
vinDecode
ChatGPTDecode a VIN (Vehicle Identification Number) to identify the exact vehicle. INPUTS: - vin (required): a 17-character VIN (e.g., "1HGBH41JXMN109186") RETURNS: Vehicle details (year, make, model, submodel), engine specifications (cylinders, displacement, fuel type), ACES fitment IDs for precise part matching, and a vehicle image when available.