vm_start
Start a virtual machine.
Starts a machine by name, or from a spec file, as a job; a suspended machine resumes where it was, with its clock set. wait_for agent also waits for the guest agent, which vm_exec uses, and returns the guest's addresses and whether it reaches the internet, resolves names and has its clock set. A machine whose network did not start fails with why. open_window false starts it with its window closed; its screen and input still work. A macOS machine waits while two run, and the job's progress says for which.
- Profiles
- operator, full
- Read-only
- No
- Destructive
- No
- Idempotent
- No
- Open world
- No
- Runs as a task
- Optional
Parameters
namestringRequiredThe name of a machine that vm_list shows.
networkbooleanfalse starts the machine once without its network device, as after a network failure; default true.
open_windowbooleanDefault true.
queuebooleanWaits while two macOS machines run, or the two machines OSMates Free runs; false refuses. Default true.
wait_forstringDefault running.
One of
running,agent.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_start/output.json
running
jobstringRequiredstatestringRequiredOne of
running.
started
canSuspendbooleanRequiredcontrolobjectcontrol.holderstringRequiredcontrol.isPausedbooleanRequiredcontrol.namestringRequireddetailstringdisplayobjectdisplay.heightintegerRequireddisplay.pixelsPerInchintegerdisplay.scaleintegerRequireddisplay.widthintegerRequiredfailureobjectfailure.actionsarray of objectsRequiredfailure.codestringfailure.kindstringRequiredOne of
failed,temporary,wrongInput.failure.messagestringRequiredguestobjectguest.addressesarray of objectsRequiredguest.hostnameobjectRequiredguest.kernelobjectRequiredguest.operatingSystemobjectRequiredguest.sharesRootobjectguest.timestring (date-time)idstring (uuid)RequiredjobstringRequirednamestringRequiredpauseReasonstring or objectOne of
person,hostAsleep, or an object that holds one key:volumeFull,volumeLowortpmStateUnsaved.pauseReason.volumeFullobjectpauseReason.volumeLowobjectpauseReason.tpmStateUnsavedobjectreadinessobjectreadiness.checkedAtstring (date-time)Requiredreadiness.clockobjectRequiredHolds one key:
synced,driftedorunchecked.readiness.networkstring or objectRequiredOne of
connected,noAddress,off,detached, or an object that holds one key:noDNS,isolated,tunnelUnchecked,lost,unchecked,restrictedorhostOnly.shutdownWaitobjectshutdownWait.percentintegershutdownWait.sincestring (date-time)RequiredshutdownWait.workstringRequiredOne of
shuttingDown,installingUpdates.startWaitobjectstartWait.limitstringRequiredOne of
macOS,edition.startWait.placeintegerRequiredstartWait.runningarray of stringsRequiredstartWait.sincestring (date-time)RequiredstatestringRequiredOne of
starting,running,paused,stopping,stopped,failed,suspended,offline.suspensionobjectsuspension.bytesintegerRequiredAt least 0.
suspension.discControllerbooleansuspension.flushedbooleanRequiredsuspension.frameworkSoundobjectsuspension.guestToolsbooleansuspension.hostBuildstringsuspension.networkPathstringRequiredOne of
direct,detached,filtered.suspension.rosettabooleansuspension.savedAtstring (date-time)Requiredsuspension.withoutNetworkbooleanRequiredupdatedAtstring (date-time)RequiredworkerBuildstringworkerProcessIdentifierinteger
Fields nested deeper are in the schema.