pve_task_wait
Wait for a Proxmox async task to finish using its UPID, then report if it succeeded, failed, or timed out.
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 | Node the task ran on; defaults to the configured node. | |
| upid | Yes | The task's Unique Process ID (UPID) string to poll for completion. | |
| timeout | No | Max seconds to wait for the task to reach a terminal state, clamped to 1-600. | |
| interval | No | Seconds between status polls, clamped to 1-60. | |
| 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 |