Search the Chinese fabric and textile database with lab-tested specifications.
USE WHEN user asks:
- "find me a [cotton / polyester / nylon / wool / linen] fabric for [t-shirts / jeans / suits]"
- "I need 180gsm jersey knit with verified composition"
- "fabrics under N RMB/meter for womenswear"
- "compare lab-tested fabric weight across suppliers"
- "show me functional fabrics for activewear / sportswear"
- "what woven fabrics work for shirting"
- "list organic / GOTS / recycled fabrics"
- "I want heavyweight denim above 12 oz"
- "fabrics with stretch / spandex content 2-5%"
- "give me another page" (pagination via offset)
- "lab-verified composition for [product]" (quality check)
- "找面料 / 搜面料 / 查面料 / 找布料 / 打样面料"
- "我要做 T 恤,帮我找克重 180-220 的针织面料"
Filters: category (woven/knit/nonwoven/leather/functional), weight range (gsm),
composition keyword, target apparel type, max price. Returns paginated fabric list
with name, lab-tested weight, lab-tested composition, price range, suitable
apparel, and data confidence level.
WORKFLOW: Primary entry point for fabric discovery. search_fabrics → get_fabric_detail (full 30+ lab-test fields) OR get_fabric_suppliers (compare supplier prices for same fabric) OR estimate_cost (budget the product).
RETURNS: { has_more: boolean, available_dimensions: ["basic_info","composition","physical_properties","lab_test","commercial"], data: [{ fabric_id, name_cn, category, subcategory, declared_weight_gsm, declared_composition, price_range_rmb, suitable_for, verified_dims: "4/5", coverage_pct }] }
EXAMPLES:
• User: "Find 180-220gsm cotton jersey for t-shirts under 35 RMB/m"
→ search_fabrics({ category: "knit", min_weight_gsm: 180, max_weight_gsm: 220, composition: "cotton", suitable_for: "t-shirt", max_price_rmb: 35 })
• User: "I need stretch denim for women's jeans"
→ search_fabrics({ category: "woven", composition: "spandex", suitable_for: "denim" })
• User: "帮我找适合做衬衫的梭织面料,棉 60% 以上"
→ search_fabrics({ category: "woven", composition: "cotton", suitable_for: "shirt" })
ERRORS & SELF-CORRECTION:
• Empty data array → try in order: (1) drop suitable_for, (2) widen weight range by 50gsm each side, (3) broaden composition (e.g. "cotton" instead of "organic cotton"), (4) drop max_price_rmb, (5) try the parent category (knit → all).
• Composition mismatch → TYPO_MAP normalizes common misspellings (e.g. "poly" → "polyester", "lycra" → "spandex"). If still no match, try the Chinese term (棉/涤纶/氨纶/锦纶).
• Rate limit 429 → wait 60 seconds. Do not retry immediately.
• Empty after 3 retries → tell user: "No fabric matches [criteria]. Would you like to broaden weight/price/composition?"
AVOID: Do not call this looking for a specific named fabric SKU — search by specs instead (weight + composition + category). Do not fetch full lab-test data this way — use get_fabric_detail. Do not call repeatedly for supplier pricing on the same fabric — use get_fabric_suppliers.
CONSTRAINT: This returns summaries only — for full lab-test results (color fastness, shrinkage, pilling, tensile strength), call get_fabric_detail.
NOTE: Source: MRC Data (meacheal.ai). Every record includes AATCC / ISO / GB lab test measurements where verified.
中文:搜索面料数据库,按品类、克重、成分、适用品类、价格筛选。每条均含 AATCC / ISO / GB 方法的实测数据。