{
 "collection_methods": {
  "collect_by_url": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    },
    {
     "name": "category",
     "required": false,
     "type": "text"
    },
    {
     "name": "category_url",
     "required": false,
     "type": "url"
    },
    {
     "name": "position",
     "required": false,
     "type": "number"
    },
    {
     "name": "country",
     "required": false,
     "type": "country"
    }
   ],
   "output_fields": [
    {
     "description": "Product detail page URL on TikTok Shop",
     "name": "url",
     "type": "url"
    },
    {
     "description": "Product title",
     "name": "title",
     "type": "text"
    },
    {
     "description": "Indicates whether the product is currently available",
     "name": "available",
     "type": "boolean"
    },
    {
     "description": "Full product description",
     "name": "description",
     "type": "text"
    },
    {
     "description": "Currency",
     "name": "currency",
     "type": "text"
    },
    {
     "description": "Original price before any discounts",
     "name": "initial_price",
     "type": "number"
    },
    {
     "description": "Final price after discounts applied",
     "name": "final_price",
     "type": "number"
    },
    {
     "description": "Discount percentage applied to the product",
     "name": "discount_percent",
     "type": "number"
    },
    {
     "description": "Lowest initial price across product variations",
     "name": "initial_price_low",
     "type": "number"
    },
    {
     "description": "Highest initial price across product variations",
     "name": "initial_price_high",
     "type": "number"
    },
    {
     "description": "Lowest final price across product variations",
     "name": "final_price_low",
     "type": "number"
    },
    {
     "description": "Highest final price across product variations",
     "name": "final_price_high",
     "type": "number"
    },
    {
     "description": "Total number of units sold",
     "name": "sold",
     "type": "number"
    },
    {
     "description": "Available color options for the product",
     "name": "colors",
     "type": "array"
    },
    {
     "description": "Available size options for the product",
     "name": "sizes",
     "type": "array"
    },
    {
     "description": "Shipping fee for the product",
     "name": "shipping_fee",
     "type": "number"
    },
    {
     "description": "Product specifications as name-value pairs",
     "name": "specifications",
     "type": "array"
    },
    {
     "description": "Total number of customer reviews",
     "name": "reviews_count",
     "type": "number"
    },
    {
     "description": "Customer reviews for the product",
     "name": "reviews",
     "type": "array"
    },
    {
     "description": "Store information including name, URL, and metrics",
     "name": "store_details",
     "type": "object"
    },
    {
     "description": "Product image URLs",
     "name": "images",
     "type": "array"
    },
    {
     "description": "Domain of the website where the product is listed",
     "name": "domain",
     "type": "text"
    },
    {
     "description": "Product video CDN URLs",
     "name": "videos",
     "type": "array"
    },
    {
     "description": "Product category classification",
     "name": "category",
     "type": "text"
    },
    {
     "description": "URL of the product category page",
     "name": "category_url",
     "type": "url"
    },
    {
     "description": "Product ID",
     "name": "id",
     "type": "text"
    },
    {
     "description": "Unique identifier of the seller",
     "name": "seller_id",
     "type": "text"
    },
    {
     "description": "Average product rating score",
     "name": "prodct_rating",
     "type": "number"
    },
    {
     "description": "The product's position at the page",
     "name": "position",
     "type": "number"
    },
    {
     "description": "The product variations",
     "name": "variations",
     "type": "array"
    },
    {
     "description": "In stock indicator",
     "name": "In_stock",
     "type": "boolean"
    },
    {
     "description": "Active promotional items or offers",
     "name": "promotion_items",
     "type": "array"
    },
    {
     "description": "Description detail",
     "name": "desc_detail",
     "type": "text"
    },
    {
     "description": "TikTok videos related to the product",
     "name": "related_videos",
     "type": "array"
    },
    {
     "description": "Product Video link",
     "name": "video_link",
     "type": "text"
    },
    {
     "description": "Shop performance metrics",
     "name": "Shop_performance_metrics",
     "type": "array"
    },
    {
     "description": "Unique variant ID",
     "name": "variant_id",
     "type": "text"
    },
    {
     "description": "Hierarchical category breadcrumb with names and URLs",
     "name": "category_tree",
     "type": "array"
    },
    {
     "description": "Product brand",
     "name": "brand",
     "type": "text"
    },
    {
     "description": "Main product image URL",
     "name": "image_url",
     "type": "text"
    },
    {
     "description": "Regular price",
     "name": "nai_price",
     "type": "price"
    },
    {
     "description": "Discounted price",
     "name": "sale_price",
     "type": "price"
    },
    {
     "description": "Product availability (in_stock, out_of_stock, pre_order, etc.)",
     "name": "availability",
     "type": "text"
    },
    {
     "description": "Availability date",
     "name": "availability_date",
     "type": "text"
    },
    {
     "description": "Variant group ID (same for all variants)",
     "name": "group_id",
     "type": "text"
    },
    {
     "description": "Indicates if the listing has variations",
     "name": "listing_has_variations",
     "type": "boolean"
    },
    {
     "description": "Currently selected variant attributes as name-value pairs",
     "name": "variant_attributes",
     "type": "array"
    },
    {
     "description": "All available variant options grouped by type",
     "name": "nai_variants",
     "type": "array"
    },
    {
     "description": "Seller name",
     "name": "store_name",
     "type": "text"
    },
    {
     "description": "Seller page URL",
     "name": "seller_url",
     "type": "text"
    },
    {
     "description": "Seller-specific privacy policy URL",
     "name": "seller_privacy_policy",
     "type": "text"
    },
    {
     "description": "Seller-specific terms of service URL",
     "name": "seller_tos",
     "type": "text"
    },
    {
     "description": "Policy URL",
     "name": "return_policy",
     "type": "text"
    },
    {
     "description": "Days allowed for return",
     "name": "return_window",
     "type": "number"
    },
    {
     "description": "Target countries of the item",
     "name": "target_countries",
     "type": "array"
    },
    {
     "description": "Store country of the item",
     "name": "store_country",
     "type": "text"
    },
    {
     "description": "List of category URLs for the product breadcrumb trail",
     "name": "category_urls",
     "type": "array"
    },
    {
     "description": "Review entries",
     "name": "nai_reviews",
     "type": "array"
    },
    {
     "description": "Extra product images (comma-separated list)",
     "name": "additional_image_urls",
     "type": "array"
    }
   ]
  },
  "discover_by_category": {
   "input_schema": [
    {
     "name": "category_url",
     "required": true,
     "type": "url"
    }
   ],
   "output_fields": [
    {
     "name": "url",
     "type": "url"
    },
    {
     "name": "category",
     "type": "text"
    },
    {
     "name": "category_url",
     "type": "url"
    },
    {
     "description": "The product's position at the page",
     "name": "position",
     "type": "number"
    }
   ]
  },
  "discover_by_keyword": {
   "input_schema": [
    {
     "name": "keyword",
     "required": true,
     "type": "text"
    },
    {
     "name": "domain",
     "required": false,
     "type": "url"
    }
   ],
   "output_fields": [
    {
     "name": "url",
     "type": "url"
    },
    {
     "description": "position",
     "name": "position",
     "type": "number"
    }
   ]
  },
  "discover_by_shop": {
   "input_schema": [
    {
     "name": "url",
     "required": true,
     "type": "url"
    }
   ],
   "output_fields": [
    {
     "name": "url",
     "type": "url"
    }
   ]
  }
 },
 "domain": "tiktok.com",
 "id": "gd_m45m1u911dsa4274pi",
 "name": "TikTok Shop"
}
