pbs_tape_media_move
Update the location bookkeeping of a tape medium to a vault or offline. Dry-run returns a plan; confirm=true executes the change.
Instructions
MUTATION: change a tape medium's LOCATION bookkeeping (to a vault, or to offline).
RISK_MEDIUM: does not physically move anything — updates PBS's own tracking field. A scheduled job/inventory expecting this medium online in a changer fails to find it until the bookkeeping matches reality again. Dry-run by default (returns a PLAN); confirm=True executes (POST /tape/media/move) and returns {"status": "ok", "result": None}. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | No | Media UUID identifying which medium to move. At least one of label_text/uuid is required. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the location change. | |
| label_text | No | Media label/barcode identifying which medium to move. At least one of label_text/uuid is required. | |
| vault_name | No | Vault to move the medium's location to (3-32 chars). OMIT to set location to OFFLINE instead — not a no-op. | |
| 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 |