pve_task_wait
Wait for an asynchronous Proxmox task to finish or time out, then return the outcome including success status and exit status. Avoid hand-rolling poll loops.
Instructions
Block until an async Proxmox task reaches a terminal state — or the timeout — then report the outcome (read). The ergonomic complement to the submit-an-async-op tools (migrate / backup / restore / clone / rollback / snapshot + guest create) that return a UPID: wait for completion without hand-rolling a pve_task_status poll loop.
Returns {upid, finished, succeeded, status, exitstatus, timed_out, polls}. succeeded is
fail-closed (finished AND exitstatus == "OK"); a failed or timed-out task is reported, not raised.
timeout is clamped 1..600s, interval 1..60s. Use pve_task_log for the full log.
(Proximo's native UPID model — NOT the MCP Tasks protocol, which was removed from the spec.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| upid | Yes | ||
| timeout | No | ||
| interval | No | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |