get_vm_config
Retrieve a VM's configuration by specifying the node and VM ID, with an option to fetch current runtime or pending settings.
Instructions
Get the configuration of a VM.
Args: node: The node name. vmid: The VM ID. current: If True, return current (runtime) config. If False, return pending config.
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": {
"node": "<node>",
"vmid": "<vmid>"
},
"name": "get_vm_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| current | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |