prepare_usb_write
Creates an expiring USB write plan tied to a physical device and verified image hash, showing the destructive effect and required confirmation without erasing or formatting.
Instructions
Prepare an expiring USB write plan bound to the physical device identity and verified image hash. Returns the exact destructive effect and required confirmation. Does not erase or format a device.
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": {
"device_number": "<device_number>",
"image": "<image>",
"expected_sha256": "<expected_sha256>"
},
"name": "prepare_usb_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | dd | |
| image | Yes | Configured image alias or local .iso/.img path within configured image roots. | |
| device_number | Yes | ||
| native_options | No | ||
| expected_sha256 | Yes | Expected SHA-256 obtained from a trusted publisher or an explicitly selected local image. |