vm_events
List virtual machine events.
Lists what happened to machines, oldest first, each with a number: creations starting, interrupted or ending in a machine, deletions, state changes, suspended among them, resumes from saved memory, discarded suspensions, the guest agent connecting, updating to the app's build, failing to update or no longer answering, an unresponsive guest, the login screen, sign-ins, locking, system prompts such as User Account Control, shares the guest does not see, the display showing a new size, after which coordinates are of that size, disk compaction and growth, the system volume growing or not, the disk image's piece count, destinations the network access refused, changes of that access, and USB attaches, detaches and refusals. At most 100 events a call: pass after to get only newer events, and wait_seconds to wait for one.
- Profiles
- read-only, operator, full
- Read-only
- Yes
- Destructive
- No
- Idempotent
- Yes
- Open world
- No
- Runs as a task
- No
Parameters
afterintegerOnly events numbered higher.
From 0 to 2147483647.
vmstringOnly this machine's events, by its name or identifier, also once vm_list no longer shows it.
wait_secondsintegerHow long to wait for a new event; default 0.
From 0 to 30.
Output
The result's structured content is an object with these fields.
JSON Schema: /schemas/0/mcp/tools/vm_events/output.json
afterintegerRequiredAt least 0.
eventsarray of objectsRequiredevents[].datestring (date-time)Requiredevents[].kindobject or stringRequiredOne of
agentLost,guestUnresponsive,loginScreen,locked,unlocked,created,deleted,creationStarted,compactionEnded,diskGrowthEnded,suspensionDiscarded,snapshotsChanged,settingsChanged,personTookControl,keptCloneUnseen,displayRecovered,firmwareUpdateEnded, or an object that holds one key:state,agentConnected,agentUpdating,agentUpdateFailed,signedIn,dialogShown,dialogClosed,displayChanged,shareUnavailable,creationInterrupted,compactionStarted,diskGrowthStarted,diskGrown,partitionGrown,partitionGrowthWaits,partitionGrowthFailed,diskCounted,restarted,resumedFromMemory,stopCodeShown,automaticSnapshotFailed,automaticSnapshotWithoutMemory,retentionFailed,controlStarted,controlPaused,controlResumed,controlEnded,networkChanged,clockChanged,forwardUnavailable,forwardRefused,sharesMounted,sharesNotMounted,shareReplayCollapsed,shareReplayOff,workspacePushed,workspaceDiffTaken,workspaceKept,workspaceForgotten,guestKernelFault,microphone,soundUnavailable,suspendable,notStartedAtLogin,displayFellBack,camera,windowsDriversInstalling,windowsDriversInstalled,windowsDriversNotInstalled,rosettaUnavailable,rosettaRegistered,rosettaNotRegistered,guestRequest,guestRequestsRefused,guestRequestsLimited,memoryOverBudget,memoryWithinBudget,egressBlocked,egressChanged,discInserted,discEjected,discUnavailable,usbAttached,usbDetached,usbNotAttached,screenKeptOn,screenNotKeptOn,watchdogRestarting,watchdogLeftStopped,watchdogRefused,moveStarted,moveEnded,firmwareUpdateStarted,firmwareUpdated,credential,macOSChanged,macOSUpdateNotSaved,macOSMemoryShort,returnPathsChangedorreturnPathsUnwatched.events[].machinestring (uuid)Requiredevents[].namestringRequiredevents[].sequenceintegerRequiredAt least 0.
Fields nested deeper are in the schema.