pbs_tape_drive_load_media
Mount a tape cartridge by label into a drive via its changer. Dry-run returns a plan; confirm=true executes the load.
Instructions
MUTATION: mount the cartridge carrying label_text into a drive via its associated changer.
RISK_MEDIUM: real robotic action — the drive is busy for the duration, any previously-mounted cartridge is displaced. No data is touched. Dry-run by default (returns a PLAN); confirm=True executes (POST /tape/drive/{drive}/load-media) and returns {"status": "submitted", "result": ""}. No undo primitive — reverse with pbs_tape_drive_unload. 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 load. | |
| label_text | Yes | Media Label/Barcode of the cartridge to mount (2-32 chars, alnum/underscore start, then alnum/./_/-). | |
| 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 |