pbs_tape_drive_unload
Unload a tape drive's mounted media to a changer slot. Dry-run plans the action; confirm executes it.
Instructions
MUTATION: return a drive's mounted media to a changer slot.
RISK_MEDIUM: real robotic action — no data touched. Dry-run by default (returns a PLAN); confirm=True executes (POST /tape/drive/{drive}/unload) and returns {"status": "submitted", "result": ""}. No undo primitive — reverse with pbs_tape_drive_load_slot. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drive | Yes | Drive identifier. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the unload. | |
| target_slot | No | Target changer slot number (>= 1). If omitted, PBS defaults to the slot the drive was loaded from. | |
| 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 |