Create Virtual_machine
netbox_create_virtual_machineAdd a new virtual machine record to NetBox, specifying required name and optional attributes such as cluster, host device, disk, memory, status, and custom fields.
Instructions
Create a new virtual_machine in NetBox.
This adds a new row to NetBox. Ask before calling if the user wanted a dry-run.
Returns: Markdown summary of the newly created object (default) or JSON with the full NetBox response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disk | No | Disk (MB). | |
| name | Yes | VM name (required). | |
| role | No | Device role id. | |
| site | No | Site id. | |
| tags | No | Optional array of tag slugs to apply to the object. | |
| vcpus | No | ||
| memory | No | Memory (MB). | |
| serial | No | ||
| status | No | active | |
| tenant | No | ||
| cluster | No | Cluster id (VM needs a cluster or a device). | |
| comments | No | ||
| platform | No | ||
| device_id | No | Host device id (alternative to cluster). Exposed as device_id (not device) for the bridge; mapped to the API field device on write. | |
| description | No | ||
| primary_ip4 | No | ||
| primary_ip6 | No | ||
| custom_fields | No | Optional object of custom-field slugs -> values. Only include fields defined on your NetBox instance. | |
| config_template | No | ||
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls. | markdown |
| local_context_data | No | ||
| virtual_machine_type | No | VM type id. |