apply_template
Apply a template to a virtual machine in Ludus cyber range environments for consistent configuration and scenario deployment.
Instructions
Apply a template to a VM.
Args: vm_name: Name of the VM to apply template to template_id: Template ID to apply user_id: Optional user ID (admin only)
Returns: Template application result
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": {
"vm_name": "<vm_name>",
"template_id": "<template_id>"
},
"name": "apply_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| template_id | Yes | ||
| user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||