{
 "collection_methods": {
  "collect_by_url": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    },
    {
     "name": "country",
     "required": false,
     "type": "text"
    }
   ],
   "output_fields": [
    {
     "description": "The URL or link to the product",
     "name": "url",
     "type": "url"
    },
    {
     "description": "Unique identifier for the product",
     "name": "product_id",
     "type": "text"
    },
    {
     "description": "Title or name of the product",
     "name": "title",
     "type": "text"
    },
    {
     "description": "Description of the product",
     "name": "product_description",
     "type": "array"
    },
    {
     "description": "Average rating of the product",
     "name": "rating",
     "type": "number"
    },
    {
     "description": "Number of ratings or reviews for the product",
     "name": "reviews_count",
     "type": "number"
    },
    {
     "description": "Images of the product",
     "name": "images",
     "type": "array"
    },
    {
     "description": "Product variations",
     "name": "variations",
     "type": "array"
    },
    {
     "description": "Tags associated with the product",
     "name": "tags",
     "type": "array"
    },
    {
     "description": "Additional details about the product",
     "name": "product_details",
     "type": "text"
    },
    {
     "description": "Distribution of star ratings",
     "name": "amount_of_stars",
     "type": "object"
    },
    {
     "description": "Name of the seller or vendor",
     "name": "seller_name",
     "type": "text"
    },
    {
     "description": "Price for delivery.",
     "name": "delivery_price",
     "type": "text"
    },
    {
     "description": "Price of the item",
     "name": "item_price",
     "type": "text"
    },
    {
     "description": "Total price including all costs",
     "name": "total_price",
     "type": "text"
    },
    {
     "description": "Currency code in which the product prices are denominated (e.g., USD, EUR, GBP)",
     "name": "currency",
     "type": "text"
    },
    {
     "description": "Specifications of the product",
     "name": "product_specifications",
     "type": "array"
    },
    {
     "description": "Related items",
     "name": "related_items",
     "type": "array"
    },
    {
     "description": "Country code or name where the product is being sold or where the listing was scraped from",
     "name": "country",
     "type": "text"
    },
    {
     "description": "The buying options of the product across different sellers, each with seller name, URL, price, and currency",
     "name": "buying_options",
     "type": "array"
    },
    {
     "description": "Variant identifier, derived from product_id (no separate variant ID in Google Shopping)",
     "name": "variant_id",
     "type": "text"
    },
    {
     "description": "Product description text, derived from product_description array joined into single text, or from product_details",
     "name": "description",
     "type": "text"
    },
    {
     "description": "Product category path as text (not available in Google Shopping)",
     "name": "product_category",
     "type": "text"
    },
    {
     "description": "NAI-formatted category tree with name/url objects (not available in Google Shopping)",
     "name": "category_tree",
     "type": "array"
    },
    {
     "description": "Brand name, extracted from product_specifications where specification_name='Brand'",
     "name": "brand",
     "type": "text"
    },
    {
     "description": "Main product image URL, derived from first element of images array",
     "name": "image_url",
     "type": "text"
    },
    {
     "description": "Product price, parsed from item_price text (remove $ and extra text)",
     "name": "price",
     "type": "price"
    },
    {
     "description": "Sale/discounted price (not available in Google Shopping - no separate sale price)",
     "name": "sale_price",
     "type": "price"
    },
    {
     "description": "Product availability status: default to 'in_stock' for listed products",
     "name": "availability",
     "type": "text"
    },
    {
     "description": "Expected delivery/availability date, extracted from delivery_price text if present",
     "name": "availability_date",
     "type": "text"
    },
    {
     "description": "Group identifier for product variants, derived from product_id",
     "name": "group_id",
     "type": "text"
    },
    {
     "description": "Indicates if the product listing has multiple variations, derived from variations array",
     "name": "listing_has_variations",
     "type": "boolean"
    },
    {
     "description": "Current variant attributes for this product, derived from variations with variation_name→name, variation_value→value mapping",
     "name": "variant_attributes",
     "type": "array"
    },
    {
     "description": "variant data grouped by variant type, restructured from variations array",
     "name": "nai_variants",
     "type": "array"
    },
    {
     "description": "Name of the store/seller, derived from seller_name",
     "name": "store_name",
     "type": "text"
    },
    {
     "description": "URL to the seller's product page, extracted from first seller_url in buying_options array",
     "name": "seller_url",
     "type": "text"
    },
    {
     "description": "URL to the seller's privacy policy",
     "name": "seller_privacy_policy",
     "type": "text"
    },
    {
     "description": "URL to the seller's terms of service",
     "name": "seller_tos",
     "type": "text"
    },
    {
     "description": "Number of days allowed for returns, parsed from return_policy text",
     "name": "return_window",
     "type": "number"
    },
    {
     "description": "List of country codes where product is available, derived from country wrapped in array",
     "name": "target_countries",
     "type": "array"
    },
    {
     "description": "Country code where the store is located, derived from country",
     "name": "store_country",
     "type": "text"
    },
    {
     "description": "List of category URLs (not available in Google Shopping)",
     "name": "category_urls",
     "type": "array"
    },
    {
     "description": "Review entries from customers for the product",
     "name": "reviews",
     "type": "array"
    }
   ]
  },
  "discover_by_keyword": {
   "input_schema": [
    {
     "name": "keyword",
     "required": true,
     "type": "text"
    },
    {
     "name": "country",
     "required": true,
     "type": "text"
    },
    {
     "name": "deep_discovery",
     "required": false,
     "type": "boolean"
    }
   ],
   "output_fields": [
    {
     "name": "url",
     "type": "url"
    },
    {
     "name": "country",
     "type": "text"
    },
    {
     "name": "input",
     "type": "input"
    },
    {
     "name": "warning",
     "type": "warning"
    },
    {
     "name": "warning_code",
     "type": "warning_code"
    },
    {
     "name": "error",
     "type": "error"
    }
   ]
  }
 },
 "domain": "google.com",
 "id": "gd_ltppk50q18kdw67omz",
 "name": "Google Shopping"
}
