create_image
Creates a Glance image record with metadata and optional HTTP(S) URL import; use it to register images without local file uploads.
Instructions
Create a Glance image record, optionally importing a remote URL.
Service: Glance (image). Mutates state. Without source_url this creates metadata only (name, disk_format, container_format, visibility, min disk/ram, protected, properties). With source_url, Glance is asked to import that http(s) URL using the web-download method. Uploading a local image file is not implemented.
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": {
"name": "<name>",
"disk_format": "<disk_format>"
},
"name": "create_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| min_ram | No | ||
| min_disk | No | ||
| protected | No | ||
| properties | No | ||
| source_url | No | ||
| visibility | No | private | |
| disk_format | Yes | ||
| container_format | No | bare |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||