Check an import
import_statusWhere an import started with start_import, or a PDF or image sent to import_document, is: waiting (no file dropped yet), working (Lilia is reading a PDF or scan: ask again in 10 to 20 seconds), done (with the new document's id, and the warnings the import left for the author to check against the original, such as a symbol it couldn't read) or failed (with the reason).
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": {
"importId": "<importId>"
},
"name": "import_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| importId | Yes | The importId from start_import or import_document. |