Wait for document extraction
air_wait_for_document_extractionWait for a document extraction source (sourcePid) to reach connected or error, up to timeoutMs, using exponential backoff; if time runs out, returns ready:false and can be called again.
Instructions
Wait until sourcePid reaches connected or error, up to timeoutMs. Uses exponential backoff. Returns ready:false with the last observed status if the wait budget runs out — call again with the same sourcePid to keep waiting. Requires projects:read.
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": {
"projectPid": "<projectPid>",
"sourcePid": "<sourcePid>"
},
"name": "air_wait_for_document_extraction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePid | Yes | ||
| timeoutMs | No | Default 600000ms; max 600000ms | |
| projectPid | Yes |