Commit a previewed import
aalto_import_commitImports a previewed CSV exactly as the preview showed, after the user approved it: pass job_id and the confirm_token. New rows are created; with on_duplicate update, matched products are overwritten with the file values. If anyone edits a matched product or the file after the preview, the commit is refused. Stops at the plan's product limit and reports partial. Rows with only a link beyond this month's AI product imports are imported without details (extraction_status pending). A large import may return in_progress, and an interrupted one can be continued: call again with resume: true. At most 10 commits per person per hour.
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": {
"job_id": "<job_id>"
},
"name": "aalto_import_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| resume | No | After an interrupted or unfinished commit: true, instead of confirm_token. Rows already imported are not repeated. | |
| confirm_token | No | The first call: the confirm_token from aalto_import_preview (single use, 10 minutes). |