Create backing image
backingimage_createCreate a backing image in Longhorn from a specified source (download, upload, export-from-volume, restore, or clone) with source-specific parameters.
Instructions
Create a new backing image. With sourceType "download", Longhorn fetches parameters.url server-side from its own network position — only use with a URL the user has explicitly provided and trusts. Destructive. Do not call this unless the user has explicitly authorized it in this conversation — never proactively, speculatively, or as a side effect of another task. Longhorn docs: https://longhorn.io/docs/1.12.1/advanced-resources/backing-image/
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>",
"sourceType": "<sourceType>",
"parameters": "<parameters>"
},
"name": "backingimage_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| extra | No | Additional Longhorn fields, merged verbatim into the request body. | |
| parameters | Yes | Source-type-specific parameters (e.g. { url } for "download"). | |
| sourceType | Yes | e.g. "download", "upload", "export-from-volume", "restore", "clone". |