wafle_csv_import
Import a CSV product feed into a wafle store with configurable column mapping. Tracks progress row-by-row and returns import summary with errors and duration.
Instructions
Import a CSV product feed into a store with catalog_mode=csv. Long-running. Emits progress notifications during the import (rows processed / total).
Returns the final import summary: imported, updated, errors, duration.
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>",
"csv_url": "<csv_url>"
},
"name": "wafle_csv_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| csv_url | Yes | Public HTTPS URL of the CSV (Google Drive direct, S3 signed, etc.). | |
| mapping | No | Optional column mapping. Default expects 'sku', 'name', 'price', 'stock', 'image', 'description' columns. | |
| timeout_seconds | No |