register_template
Registers a new CloudStack template from a URL using a specified name, OS type, zone, hypervisor, and format.
Instructions
Register a new template from a URL
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": {
"displaytext": "<displaytext>",
"name": "<name>",
"ostypeid": "<ostypeid>",
"url": "<url>",
"zoneid": "<zoneid>",
"hypervisor": "<hypervisor>",
"format": "<format>"
},
"name": "register_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the template | |
| name | Yes | Template name | |
| format | Yes | Template format (QCOW2, RAW, VHD, OVA) | |
| zoneid | Yes | Zone ID | |
| ispublic | No | Make template public | |
| ostypeid | Yes | OS type ID | |
| hypervisor | Yes | Hypervisor (KVM, VMware, XenServer, etc.) | |
| isfeatured | No | Make template featured | |
| displaytext | Yes | Template display text | |
| isextractable | No | Allow template extraction | |
| passwordenabled | No | Template supports password reset |