Check a clothing product
check_productUse this when the user shares a link to a clothing product page and asks what it's made of, whether it contains polyester or other synthetics, whether it's 100% cotton, or how sustainable it is, for example "what is this shirt made of? ". Returns Greener Closet's stored fiber breakdown and score when the product is in its catalog. Otherwise it returns a link where the user can analyze the product on greenercloset.com. Do not use this for pasted label text (use check_fabric_label) or for a product described without a URL.
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": {
"url": "<url>"
},
"name": "check_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full product page URL, e.g. https://www.patagonia.com/product/... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |