pbs_tape_media_status_set
Set or clear a tape medium's manual status override to mark it as full, damaged, or retired. Dry-run by default to preview changes before applying.
Instructions
MUTATION: set (or clear) a tape medium's manual status override.
RISK_MEDIUM: changes whether PBS considers this medium available for future writes — reversible by calling this again. Dry-run by default (returns a PLAN); confirm=True executes (POST /tape/media/list/{uuid}/status) and returns {"status": "ok", "result": None}. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Media UUID. | |
| status | No | New status: 'full', 'damaged', or 'retired'. Omit to CLEAR the manual override (revert to PBS's internally-managed writable/unknown state). 'writable'/'unknown' are rejected — PBS manages those internally. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the status change. | |
| 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 |