create_vm
Create a VM from a built image, using the ARM preview for a PinePhone build.
Creates and starts a new VM running the built image.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"build_id": "<build_id>"
},
"name": "create_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the VM | |
| vcpus | No | Number of virtual CPUs | |
| lab_id | No | Owned private lab; never a host/network identifier | |
| api_key | No | Your OpenFactory MCP API key (optional) | |
| build_id | Yes | The build ID to create a VM from | |
| networks | No | Logical networks belonging to this lab | |
| memory_mb | No | VM memory in MB | |
| base_image | No | Base image slug such as fedora-43, so release-specific installer steps match the release actually being installed | |
| lab_node_id | No | Stable logical lab role name | |
| auto_install | No | Install the built ISO to the primary disk and reboot into the installed system instead of leaving the VM on live media | |
| disk_size_gb | No | Primary VM disk size in GB | |
| session_token | No | Session token from a previous tool response (pass this to maintain session continuity) | |
| installer_type | No | The recipe's declared installer ("calamares", "anaconda"). Required with auto_install for a general-purpose desktop image; without it only appliance ISOs resolve an installer | |
| storage_devices | No | Optional extra VM disks/controllers, such as generated NVMe disks | |
| installer_method | No | Optional registered install strategy override, such as guest_agent for the OpenFactory Installer compatibility route |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||