tape_read_header
Reads the first block of a tape to report its header bytes, printable strings and file/block numbers. Loads, rewinds and unloads the tape automatically; read-only and requires no confirmation.
Instructions
Reads the first block of a tape (load, rewind, dd bs=256k then 1M count=1, report bytes + printable strings + mt file/block numbers, rewind, unload). Read-only in data terms; the tape is always unloaded afterwards. No confirm needed.
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": {
"slot": "<slot>"
},
"name": "tape_read_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Slot number | |
| force | No | Override the busy check for the required drive |