Read shipments out of a spreadsheet or GS1 event feed
eudr_import_shipmentsParse a consignment list into structured shipments ready to check. Accepts a CSV export (the column set eudr.dev publishes) or a GS1 EPCIS 2.0 JSON-LD document. Returns one row per shipment with supplier, commodity, country, quantity and plot boundaries, plus a warning for every row that could not be read and the reason. Nothing is stored and nothing is submitted; this only reads the document you pass.
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": {
"format": "<format>",
"document": "<document>"
},
"name": "eudr_import_shipments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many shipments to return in full, including plot boundaries. Defaults to 8, which is what eudr_check_plots accepts in one call. | |
| format | Yes | `csv` for the published column set, `epcis` for a GS1 EPCIS 2.0 JSON-LD document. | |
| offset | No | Which shipment to start detailing from. Totals always cover the whole document. | |
| document | Yes | The document itself. CSV text including its header row, or the EPCIS document as JSON text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| format | Yes | ||
| offset | Yes | ||
| stored | Yes | ||
| warnings | Yes | ||
| shipments | Yes | ||
| next_action | Yes | ||
| next_offset | No | ||
| rows_skipped | Yes | ||
| rows_returned | Yes | ||
| shipments_read | Yes |