label_tapes
Label new or empty tapes in specified jukebox slots for a pool; this overwrites slot contents, so use only on blank volumes and set confirm:true.
Instructions
DESTRUCTIVE: labels media in a jukebox's slots for a pool — this OVERWRITES the tapes in the given slots, destroying any data on them. Only new/empty volumes can be labeled. Requires confirm:true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jukebox": "<jukebox>",
"pool": "<pool>",
"slotIds": "<slotIds>"
},
"name": "label_tapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | Yes | Pool name to label for | |
| drive | No | Force this drive device (e.g. sg6): other drives get cleaning=1 during the job, restored afterwards | |
| confirm | No | Must be true to actually run | |
| jukebox | Yes | Jukebox name, e.g. from status | |
| slotIds | Yes | Slot numbers to label, e.g. ["1","5"] |