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
devicestringRequiredvendor:product in hex.
serialstringIf two share the ID.
vmstringRequiredThe 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
deviceobjectRequireddevice.entryobjectdevice.keyobjectRequireddevice.rememberedbooleanRequired
Fields nested deeper are in the schema.