Request an invite
Docs menu

vm_usb_attach

Attach a USB device.

Attaches a USB device to a running machine, which remembers it and saves no memory meanwhile. A limited network refuses network devices.

Profiles
full
Read-only
No
Destructive
No
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_attach/output.json

deviceobjectRequired
device.entryobject
device.keyobjectRequired
device.rememberedbooleanRequired

Fields nested deeper are in the schema.

Report a problem with this page