laserfiche_task_wait
Wait until an async Laserfiche operation finishes, returning status with timed_out flag to guide retries.
Instructions
Block until an async operation reaches a terminal state.
Preferred over manual polling. Returns the same payload as
get_task_status plus timed_out — true when timeout_seconds
elapsed first, so the caller can decide whether to keep waiting.
On a failed poll returns {"mode": "error", "error": <slug>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation_token | Yes | Operation token returned by an async tool (delete_entry, copy_entry, sometimes import_document). | |
| timeout_seconds | No | Maximum wait; on deadline the last status returns with timed_out=true. | |
| poll_interval_seconds | No | Delay between status checks. Bounded below at 0.1s. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||