wafle_ai_categorize
Auto-classify products without a category using SKUs and allowed categories. Receive a category and confidence for each, then accept to save overrides.
Instructions
Auto-classify products without a category. Call with a list of SKUs and a list of allowed categories. Each product gets { category, confidence } (or null if nothing fits). Accept the job to write category overrides into the catalog.
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": {
"slug": "<slug>",
"product_skus": "<product_skus>",
"available_categories": "<available_categories>"
},
"name": "wafle_ai_categorize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| product_skus | Yes | Up to 25 SKUs (batched 5/call internally). | |
| available_categories | Yes | Allowed category slugs. |