Request an invite
Docs menu

vm_usb_detach

Detach a USB device.

Detaches a USB device and forgets it.

Profiles
full
Read-only
No
Destructive
Yes
Idempotent
No
Open world
No
Runs as a task
No

Parameters

devicestringRequired

vendor:product in hex.

serialstring

If two share the ID.

vmstringRequired

The machine's name or identifier, as vm_list shows it.

Output

The result's structured content is an object with these fields.

JSON Schema: /schemas/0/mcp/tools/vm_usb_detach/output.json

deviceobjectRequired
device.entryobject
device.keyobjectRequired
device.rememberedbooleanRequired

Fields nested deeper are in the schema.

Report a problem with this page