Import Session Details
get_import_sessionRead a staged import session: status, the uploaded file's profile (columns, inferred types, sample rows, anomalies — everything needed to author a mapping), the current validation report, and commit progress (committedOrders/totalOrders) while the background import runs.
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": {
"importSessionId": "<importSessionId>"
},
"name": "get_import_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| importSessionId | Yes | The import session id (GUID) from create_import_session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| kind | No | ||
| source | No | ||
| status | No | ||
| profile | No | ||
| rowCount | No | ||
| expiresAt | No | ||
| uploadUrl | No | ||
| validation | No | ||
| totalOrders | No | ||
| commitErrors | No | ||
| failedOrders | No | ||
| committedOrders | No | ||
| importSessionId | No | ||
| originalFileName | No |