pbs_tape_drive_inventory_update
Loads and reads unknown tape cartridges into the drive, storing results in the media database. Dry-run by default; confirm=true executes.
Instructions
MUTATION: query the changer and load+read any unknown cartridge into this drive, storing results to the media database.
RISK_MEDIUM: can physically cycle through EVERY not-yet-inventoried cartridge in the attached library, one at a time — duration scales with library size. Dry-run by default (returns a PLAN); confirm=True executes (PUT /tape/drive/{drive}/inventory) and returns {"status": "submitted", "result": ""}. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drive | Yes | Drive identifier. | |
| catalog | No | If True, also try to restore the PBS catalog from tape for newly-inventoried media. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the inventory update. | |
| 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. | |
| read_all_labels | No | If True, load ALL tapes and re-read labels even if already inventoried. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |