check shopping copy
check_shopping_copyValidates draft shopping copy against active store products, rejecting unsupported specs, prices, or stock claims before delivery.
Instructions
Check draft shopping copy against the store's active products. Rejects the draft when it states a spec, a price, or a stock level that the approved catalog does not allow. A price is allowed only when the amount and currency match an active product. If the sentence names a product, the price must match that product. A stock level is allowed only in the form that product stores: in stock, out of stock, or the exact approved quantity. A spec is allowed only when a saved spec for that product covers the sentence, including measurements, and the sentence does not add a spec the saved value does not contain. Spec phrasing the check looks for includes made of, material, color is, size is, weighs, length, width, height, and a saved label followed by 'is' or a colon. Retired products do not cover a spec, a price, or a stock level. Does not save the draft. Do not deliver copy when verdict is rejected.
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": {
"storeId": "<storeId>",
"draft": "<draft>"
},
"name": "check_shopping_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | ||
| storeId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |