create_directory_storage
Formats a block device with ext4 or xfs and mounts it as a directory-based storage, with an option to automatically add it to Proxmox storage.
Instructions
Create a directory-based storage mount from a device.
Args: node: The node name. name: Storage name. device: Block device path. filesystem: Filesystem type (ext4, xfs). add_to_storage: Auto-add as Proxmox storage.
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>",
"name": "<name>",
"device": "<device>"
},
"name": "create_directory_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| node | Yes | ||
| device | Yes | ||
| filesystem | No | ext4 | |
| add_to_storage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |