Request an invite
Docs menu

vm_grow_disk

Grow a virtual machine's disk.

Grows a stopped machine's disk to size_gib, as a job; stop it with vm_stop first. A disk only grows: a smaller size is refused. The guest grows its system volume to fill the disk at its next start; until it has, vm_info shows the growth and why it waits, and vm_events says when the volume grew. The same size asks the guest again. Snapshots keep the size they were taken with, which vm_revert and a clone of one give back. It needs room on the Mac for the growth.

Profiles
operator, full
Read-only
No
Destructive
No
Idempotent
No
Open world
No
Runs as a task
Optional

Parameters

size_gibintegerRequired

The disk's new size.

From 4 to 2048.

vmstringRequired

The machine's name or identifier, as vm_list shows it.

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_grow_disk/output.json

running

jobstringRequired
statestringRequired

One of running.

diskGrowth

afterintegerRequired

At least 0.

askedGuestAgainbooleanRequired
beforeintegerRequired

At least 0.

elapsedintegerRequired
jobstringRequired
movedRecoveryinteger

At least 0.

Report a problem with this page