tape_erase
Erases tapes in specified slots by rewinding and running a short erase, destroying all contents; requires confirm:true and refuses known volumes unless eraseKnown is enabled.
Instructions
DESTRUCTIVE: short-erases tapes in the given slots (rewind + mt erase 0) — this DESTROYS all contents on them. One tape at a time, reported per slot; a bad tape reports an I/O error and is still rewound+unloaded. Refuses tapes P5 still knows as a volume (or whose barcode is unknown) unless eraseKnown:true; the preview lists them under refused. 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": {
"slots": "<slots>"
},
"name": "tape_erase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Override the busy-library check | |
| slots | Yes | Slot numbers to erase, e.g. [14] | |
| confirm | No | Must be true to actually run | |
| eraseKnown | No | Erase tapes P5 still knows as a volume (or with unknown barcode); default false = refuse |