Request an invite
Docs menu

control_acquire

Take a virtual machine's lease.

Takes the machine's lease, which one session holds at a time, or renews this session's, for minutes (default 30). Changes take it by themselves when it is free, and each call of its holder renews it; this waits up to wait_seconds for another session's to end, and names the holder when it does not. The first lease of a session starts with a snapshot of the machine's disks. The person can pause it from the machine's window.

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

Parameters

minutesinteger

Default 30.

From 1 to 240.

vmstringRequired

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

wait_secondsinteger

Default 0.

From 0 to 30.

Output

The result's structured content is an object with these fields.

JSON Schema: /schemas/0/mcp/tools/control_acquire/output.json

acquiredAtstring (date-time)Required
holderobjectRequired
holder.clientKeystringRequired
holder.displayNamestringRequired
holder.namestringRequired
holder.sessionstringRequired
lengthintegerRequired
machinestring (uuid)Required
pausedSincestring (date-time)
renewedAtstring (date-time)Required

Report a problem with this page