write_usb
Overwrites every partition on a specified USB drive using a confirmed, unexpired plan and the Rufus engine while rejecting internal disks. Requires explicit authorization and returns a job ID to poll for write status.
Instructions
DESTRUCTIVE: overwrite every partition and file on the physical USB named by an unexpired plan, using the real Rufus native engine. Requires explicit user authorization and the exact plan confirmation. Revalidates device identity and image hash; refuses internal/system disks. Returns a job ID, not write completion. Poll usb_write_status.
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": {
"plan_id": "<plan_id>",
"confirmation": "<confirmation>",
"confirm_erase": "<confirm_erase>"
},
"name": "write_usb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | The unexpired plan ID returned by prepare_usb_write. | |
| confirmation | Yes | ||
| confirm_erase | Yes |