vm_import
Import a machine from another app.
Imports a Windows 11 for Arm, Linux for Arm or macOS machine another Mac app made, from its folder or a disk file, without starting it. Its disks' current state is converted; the source is not changed, and the person approves the path each time. It keeps its identity unless new_identity. Windows' TPM stays behind, and BitLocker asks for its recovery key unless the old machine ran the preparation first. check reads it and says what was found, what stays behind and the preparation, creating nothing.
- Profiles
- full
- Read-only
- No
- Destructive
- No
- Idempotent
- No
- Open world
- No
- Runs as a task
- Optional
Parameters
checkbooleanRead it and create nothing; default false.
cpusintegerDefault: its settings', within this Mac's.
From 1 to 32.
memory_gibintegerDefault: its settings', within this Mac's.
From 1 to 256.
namestringDefault: from its settings or folder name.
new_identitybooleanWindows a new system UUID, Linux a new MAC address, macOS a new machine identifier. Default false.
other_disksbooleanIts other disks come along as disk 2 and on. Default true.
passwordstringThe Windows or macOS account's password, kept in the Keychain for vm_sign_in.
pathstringRequiredThe machine's folder or disk file, an absolute path on this Mac: VMDK with a VMX file, a .hdd folder, a config.plist bundle, or a folder with HardwareModel, MachineIdentifier, AuxiliaryStorage and Disk.img.
resumebooleanRun the interrupted import of name again from path; default false.
system_uuidstringWindows: the UUID Prepare for OSMates printed, when its settings do not give it.
userstringLinux and macOS: its account in the guest. Default: the first one signed in.
wait_secondsintegerSeconds to wait before answering with a job to follow; default 20.
From 0 to 30.
Output
The result's structured content is one of these objects.
JSON Schema: /schemas/0/mcp/tools/vm_import/output.json
running
jobstringRequiredstatestringRequiredOne of
running.
machine
acceleratedGraphicsbooleanaccountobjectRequiredaccount.authorizedKeysarray of stringsRequiredaccount.enablesRemoteLoginbooleanRequiredaccount.userstringRequiredcameraobjectcamera.devicestringcamera.onbooleanRequiredclipboardstringRequiredOne of
off,to-guest,to-mac,both.cpuCountintegerRequiredcreatedAtstring (date-time)Requiredcreatorstringcredentialsarray of objectscredentials[].credentialstring (uuid)Requiredcredentials[].endedobjectcredentials[].expiryobject or stringRequiredOne of
machineStop,never, or an object that holds one key:at.credentials[].grantedAtstring (date-time)Requiredcredentials[].includesClonesbooleanRequiredcredentials[].placeholderstringRequireddataDisksarray of objectsdataDisks[].filestringRequireddataDisks[].fromstringRequireddataDisks[].sizeintegerRequiredAt least 0.
discstring (uri)diskBusstringOne of
nvme.diskSizeintegerRequiredAt least 0.
displayobjectdisplay.heightintegerRequireddisplay.pixelsPerInchintegerdisplay.scaleintegerRequireddisplay.widthintegerRequireddisplayCountintegeregressobjectegress.modestringRequiredOne of
open,allowlist,blocked.egress.rulesarray of stringsRequiredenginestringRequiredOne of
virtualization,hypervisor.firmwareobjectfirmware.sha256stringRequiredfirmware.versionstringRequiredfirstAgentAnswerstring (date-time)forwardsarray of objectsforwards[].gueststringRequiredforwards[].guestPortintegerRequiredAt least 0.
forwards[].hostPortintegerRequiredAt least 0.
forwards[].transportstringRequiredOne of
tcp,udp.highDynamicRangebooleanidstring (uuid)Requiredimportedobjectimported.bitLockerbooleanRequiredimported.formatstringRequiredOne of
vmdkSparse,vmdkFlat,vmdkSplitSparse,vmdkSplitFlat,vmdkStream,vmdkVMFS,hddExpanding,hddPlain,qcow2,raw,asif.imported.fromstringRequiredimported.identitystringRequiredOne of
kept,new.imported.leftBehindarray of objects or stringsRequiredEach item is one of
firmwareVariables,guestTools,appSettings, or an object that holds one key:tpm,snapshots,savedStatesorotherDisks.imported.systemstringRequiredOne of
linux,macOS,windows,freeBSD.isEphemeralbooleanRequiredjobstringRequiredkeepsMacAwakebooleanlastBuildobjectlastBuild.enginestringlastBuild.signaturestringRequiredlastBuild.versionstringRequiredmacOSobjectmacOS.listedAtstring (date-time)macOS.offerobjectmacOS.reportedAtstring (date-time)RequiredmacOS.versionstringRequiredmacOS.wayBackobjectmemorySizeintegerRequiredAt least 0.
namestringRequirednestedVirtualizationbooleannetworkobjectHolds one key:
natorvmnet.network.natobjectnetwork.vmnetobjectoperatingSystemstringRequiredOne of
linux,macOS,windows,freeBSD.originobjectorigin.keptIdentifierbooleanorigin.machinestring (uuid)Requiredorigin.namestringRequiredorigin.sharesAccessbooleanorigin.snapshotstringorigin.templateSincestring (date-time)ownedByRunbooleanownerobjectowner.processIdentifierintegerRequiredowner.startedAtstring (date-time)RequiredpartitionGrowthobjectpartitionGrowth.diskSizeintegerRequiredAt least 0.
partitionGrowth.failuresintegerRequiredpartitionGrowth.problemobjectpartitionGrowth.retriesbooleanRequiredpresetstringOne of
agent-sandbox.processorobjectprocessor.clockSpeedintegerRequiredAt least 0.
processor.manufacturerstringRequiredprocessor.midrintegerRequiredAt least 0.
processor.namestringRequiredpulledFromobjectpulledFrom.digeststringRequiredpulledFrom.publisherstringpulledFrom.pulledAtstring (date-time)RequiredpulledFrom.referencestringRequiredpulledFrom.signedBystringrecordingstringOne of
off,on,video,trajectory.requirementsobjectrequirements.cpuCountintegerRequiredrequirements.memorySizeintegerRequiredAt least 0.
rosettabooleansecureBootbooleansecurityKeybooleansharesarray of objectsRequiredshares[].eventsbooleanRequiredshares[].folderstring (uri)Requiredshares[].namestringRequiredshares[].readOnlybooleanRequiredshortcutsstringOne of
mac,pc.snapshotPolicyobjectRequiredsnapshotPolicy.beforeRevertingbooleanRequiredsnapshotPolicy.includesMemorybooleanRequiredsnapshotPolicy.keepintegerRequiredsnapshotPolicy.schedulestringRequiredOne of
never,hourly,daily.soundobjectsound.microphonebooleanRequiredsound.mutedbooleanRequiredsourceobjectsource.buildstringsource.digeststringsource.formatstringOne of
qcow2,raw,asif,xz.source.imagestringRequiredsource.installedOnstringsource.linuxLocaleobjectsource.locationstringsource.macOSLocaleobjectsource.versionstringsource.virtualSizeintegerAt least 0.
source.windowsobjectsource.xcodeobjectstartsAtLoginbooleantemplateSincestring (date-time)usbDevicesarray of objectsusbDevices[].namestringusbDevices[].productIDintegerRequiredAt least 0.
usbDevices[].serialstringusbDevices[].vendorIDintegerRequiredAt least 0.
watchdogbooleanwindowsDriversobjectwindowsDrivers.datestring (date-time)RequiredwindowsDrivers.namestringRequiredwindowsDrivers.resultsarray of objectsRequiredwindowsDrivers.setstringRequiredwindowsDrivers.snapshotstring (uuid)windowsDrivers.snapshotNamestringwindowsDriversUndonestringworkspaceobjectworkspace.bytesintegerRequiredAt least 0.
workspace.commitstringworkspace.filesintegerRequiredworkspace.folderstringRequiredworkspace.guestPathstringRequiredworkspace.historyLeftOutstringworkspace.hooksPathstringworkspace.idstring (uuid)Requiredworkspace.isGitWorkTreebooleanRequiredworkspace.lastDiffobjectworkspace.leftOutarray of objectsRequiredworkspace.objectFormatstringRequiredOne of
sha1,sha256.workspace.outstandingobjectworkspace.pushedAtstring (date-time)Requiredworkspace.snapshotsBeforearray of strings (uuid)Required
check
bootobjectHolds one key:
windows,linuxormacOS.boot.windowsobjectboot.linuxobjectboot.macOSobjectcpuCountintegerdiskobjectRequireddisk.controllerstringOne of
nvme,sata,scsi,ide,virtio.disk.estimateintegerRequiredAt least 0.
disk.filestringRequireddisk.formatstringRequiredOne of
vmdkSparse,vmdkFlat,vmdkSplitSparse,vmdkSplitFlat,vmdkStream,vmdkVMFS,hddExpanding,hddPlain,qcow2,raw,asif.disk.snapshotsBelowintegerRequireddisk.sparseOnlybooleanRequireddisk.virtualSizeintegerAt least 0.
layoutstringRequiredOne of
vmx,machinePlist,hddFolder,vmBundle,disk.leftBehindarray of objects or stringsRequiredEach item is one of
firmwareVariables,guestTools,appSettings, or an object that holds one key:tpm,snapshots,savedStatesorotherDisks.leftBehind[].tpmobjectleftBehind[].snapshotsobjectleftBehind[].savedStatesobjectleftBehind[].otherDisksobjectmacAddressstringmemorySizeintegerAt least 0.
otherDisksarray of objectsRequiredotherDisks[].controllerstringOne of
nvme,sata,scsi,ide,virtio.otherDisks[].estimateintegerRequiredAt least 0.
otherDisks[].filestringRequiredotherDisks[].formatstringRequiredOne of
vmdkSparse,vmdkFlat,vmdkSplitSparse,vmdkSplitFlat,vmdkStream,vmdkVMFS,hddExpanding,hddPlain,qcow2,raw,asif.otherDisks[].snapshotsBelowintegerRequiredotherDisks[].sparseOnlybooleanRequiredotherDisks[].virtualSizeintegerAt least 0.
platformDigeststringsavedStatesintegerRequiredsettingsEncryptedbooleanRequiredsourceNamestringRequiredsuggestedNamestringRequiredsystemstringRequiredOne of
linux,macOS,windows,freeBSD.systemUUIDstring (uuid)uuidOriginstringOne of
vmx,settingsPlist.
Fields nested deeper are in the schema.