Request an invite
Docs menu

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

checkboolean

Read it and create nothing; default false.

cpusinteger

Default: its settings', within this Mac's.

From 1 to 32.

memory_gibinteger

Default: its settings', within this Mac's.

From 1 to 256.

namestring

Default: from its settings or folder name.

new_identityboolean

Windows a new system UUID, Linux a new MAC address, macOS a new machine identifier. Default false.

other_disksboolean

Its other disks come along as disk 2 and on. Default true.

passwordstring

The Windows or macOS account's password, kept in the Keychain for vm_sign_in.

pathstringRequired

The 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.

resumeboolean

Run the interrupted import of name again from path; default false.

system_uuidstring

Windows: the UUID Prepare for OSMates printed, when its settings do not give it.

userstring

Linux and macOS: its account in the guest. Default: the first one signed in.

wait_secondsinteger

Seconds 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

jobstringRequired
statestringRequired

One of running.

machine

acceleratedGraphicsboolean
accountobjectRequired
account.authorizedKeysarray of stringsRequired
account.enablesRemoteLoginbooleanRequired
account.userstringRequired
cameraobject
camera.devicestring
camera.onbooleanRequired
clipboardstringRequired

One of off, to-guest, to-mac, both.

cpuCountintegerRequired
createdAtstring (date-time)Required
creatorstring
credentialsarray of objects
credentials[].credentialstring (uuid)Required
credentials[].endedobject
credentials[].expiryobject or stringRequired

One of machineStop, never, or an object that holds one key: at.

credentials[].grantedAtstring (date-time)Required
credentials[].includesClonesbooleanRequired
credentials[].placeholderstringRequired
dataDisksarray of objects
dataDisks[].filestringRequired
dataDisks[].fromstringRequired
dataDisks[].sizeintegerRequired

At least 0.

discstring (uri)
diskBusstring

One of nvme.

diskSizeintegerRequired

At least 0.

displayobject
display.heightintegerRequired
display.pixelsPerInchinteger
display.scaleintegerRequired
display.widthintegerRequired
displayCountinteger
egressobject
egress.modestringRequired

One of open, allowlist, blocked.

egress.rulesarray of stringsRequired
enginestringRequired

One of virtualization, hypervisor.

firmwareobject
firmware.sha256stringRequired
firmware.versionstringRequired
firstAgentAnswerstring (date-time)
forwardsarray of objects
forwards[].gueststringRequired
forwards[].guestPortintegerRequired

At least 0.

forwards[].hostPortintegerRequired

At least 0.

forwards[].transportstringRequired

One of tcp, udp.

highDynamicRangeboolean
idstring (uuid)Required
importedobject
imported.bitLockerbooleanRequired
imported.formatstringRequired

One of vmdkSparse, vmdkFlat, vmdkSplitSparse, vmdkSplitFlat, vmdkStream, vmdkVMFS, hddExpanding, hddPlain, qcow2, raw, asif.

imported.fromstringRequired
imported.identitystringRequired

One of kept, new.

imported.leftBehindarray of objects or stringsRequired

Each item is one of firmwareVariables, guestTools, appSettings, or an object that holds one key: tpm, snapshots, savedStates or otherDisks.

imported.systemstringRequired

One of linux, macOS, windows, freeBSD.

isEphemeralbooleanRequired
jobstringRequired
keepsMacAwakeboolean
lastBuildobject
lastBuild.enginestring
lastBuild.signaturestringRequired
lastBuild.versionstringRequired
macOSobject
macOS.listedAtstring (date-time)
macOS.offerobject
macOS.reportedAtstring (date-time)Required
macOS.versionstringRequired
macOS.wayBackobject
memorySizeintegerRequired

At least 0.

namestringRequired
nestedVirtualizationboolean
networkobject

Holds one key: nat or vmnet.

network.natobject
network.vmnetobject
operatingSystemstringRequired

One of linux, macOS, windows, freeBSD.

originobject
origin.keptIdentifierboolean
origin.machinestring (uuid)Required
origin.namestringRequired
origin.sharesAccessboolean
origin.snapshotstring
origin.templateSincestring (date-time)
ownedByRunboolean
ownerobject
owner.processIdentifierintegerRequired
owner.startedAtstring (date-time)Required
partitionGrowthobject
partitionGrowth.diskSizeintegerRequired

At least 0.

partitionGrowth.failuresintegerRequired
partitionGrowth.problemobject
partitionGrowth.retriesbooleanRequired
presetstring

One of agent-sandbox.

processorobject
processor.clockSpeedintegerRequired

At least 0.

processor.manufacturerstringRequired
processor.midrintegerRequired

At least 0.

processor.namestringRequired
pulledFromobject
pulledFrom.digeststringRequired
pulledFrom.publisherstring
pulledFrom.pulledAtstring (date-time)Required
pulledFrom.referencestringRequired
pulledFrom.signedBystring
recordingstring

One of off, on, video, trajectory.

requirementsobject
requirements.cpuCountintegerRequired
requirements.memorySizeintegerRequired

At least 0.

rosettaboolean
secureBootboolean
securityKeyboolean
sharesarray of objectsRequired
shares[].eventsbooleanRequired
shares[].folderstring (uri)Required
shares[].namestringRequired
shares[].readOnlybooleanRequired
shortcutsstring

One of mac, pc.

snapshotPolicyobjectRequired
snapshotPolicy.beforeRevertingbooleanRequired
snapshotPolicy.includesMemorybooleanRequired
snapshotPolicy.keepintegerRequired
snapshotPolicy.schedulestringRequired

One of never, hourly, daily.

soundobject
sound.microphonebooleanRequired
sound.mutedbooleanRequired
sourceobject
source.buildstring
source.digeststring
source.formatstring

One of qcow2, raw, asif, xz.

source.imagestringRequired
source.installedOnstring
source.linuxLocaleobject
source.locationstring
source.macOSLocaleobject
source.versionstring
source.virtualSizeinteger

At least 0.

source.windowsobject
source.xcodeobject
startsAtLoginboolean
templateSincestring (date-time)
usbDevicesarray of objects
usbDevices[].namestring
usbDevices[].productIDintegerRequired

At least 0.

usbDevices[].serialstring
usbDevices[].vendorIDintegerRequired

At least 0.

watchdogboolean
windowsDriversobject
windowsDrivers.datestring (date-time)Required
windowsDrivers.namestringRequired
windowsDrivers.resultsarray of objectsRequired
windowsDrivers.setstringRequired
windowsDrivers.snapshotstring (uuid)
windowsDrivers.snapshotNamestring
windowsDriversUndonestring
workspaceobject
workspace.bytesintegerRequired

At least 0.

workspace.commitstring
workspace.filesintegerRequired
workspace.folderstringRequired
workspace.guestPathstringRequired
workspace.historyLeftOutstring
workspace.hooksPathstring
workspace.idstring (uuid)Required
workspace.isGitWorkTreebooleanRequired
workspace.lastDiffobject
workspace.leftOutarray of objectsRequired
workspace.objectFormatstringRequired

One of sha1, sha256.

workspace.outstandingobject
workspace.pushedAtstring (date-time)Required
workspace.snapshotsBeforearray of strings (uuid)Required

check

bootobject

Holds one key: windows, linux or macOS.

boot.windowsobject
boot.linuxobject
boot.macOSobject
cpuCountinteger
diskobjectRequired
disk.controllerstring

One of nvme, sata, scsi, ide, virtio.

disk.estimateintegerRequired

At least 0.

disk.filestringRequired
disk.formatstringRequired

One of vmdkSparse, vmdkFlat, vmdkSplitSparse, vmdkSplitFlat, vmdkStream, vmdkVMFS, hddExpanding, hddPlain, qcow2, raw, asif.

disk.snapshotsBelowintegerRequired
disk.sparseOnlybooleanRequired
disk.virtualSizeinteger

At least 0.

layoutstringRequired

One of vmx, machinePlist, hddFolder, vmBundle, disk.

leftBehindarray of objects or stringsRequired

Each item is one of firmwareVariables, guestTools, appSettings, or an object that holds one key: tpm, snapshots, savedStates or otherDisks.

leftBehind[].tpmobject
leftBehind[].snapshotsobject
leftBehind[].savedStatesobject
leftBehind[].otherDisksobject
macAddressstring
memorySizeinteger

At least 0.

otherDisksarray of objectsRequired
otherDisks[].controllerstring

One of nvme, sata, scsi, ide, virtio.

otherDisks[].estimateintegerRequired

At least 0.

otherDisks[].filestringRequired
otherDisks[].formatstringRequired

One of vmdkSparse, vmdkFlat, vmdkSplitSparse, vmdkSplitFlat, vmdkStream, vmdkVMFS, hddExpanding, hddPlain, qcow2, raw, asif.

otherDisks[].snapshotsBelowintegerRequired
otherDisks[].sparseOnlybooleanRequired
otherDisks[].virtualSizeinteger

At least 0.

platformDigeststring
savedStatesintegerRequired
settingsEncryptedbooleanRequired
sourceNamestringRequired
suggestedNamestringRequired
systemstringRequired

One of linux, macOS, windows, freeBSD.

systemUUIDstring (uuid)
uuidOriginstring

One of vmx, settingsPlist.

Fields nested deeper are in the schema.

Report a problem with this page