Start a spreadsheet import
aalto_import_startStarts importing a CSV of products into a private collection: returns a job_id and, for csv_upload, a signed URL to PUT the file to (valid 2 hours). Nothing is imported yet: next call aalto_import_preview, show the user the result, then aalto_import_commit. CSV only (convert XLSX first), up to 5 MB and 2,000 rows. At most 10 open (not yet committed) imports per person in each workspace; the limit is best effort.
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": {
"collection_id": "<collection_id>",
"source": "<source>",
"idempotency_key": "<idempotency_key>"
},
"name": "aalto_import_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | Only with source inline: the CSV text (≤1,000,000 characters). Convert XLSX to CSV first. | |
| source | Yes | csv_upload (default choice): you PUT the file to a signed URL. inline: pass small CSV text in csv. | |
| collection_id | Yes | A private collection in this workspace to import into (the Library is fine). | |
| idempotency_key | Yes | Required. A new unique string per intended change (8–128 chars). Retrying with the same key and same arguments replays the first result instead of writing twice. |