Create Storage
create_storageCreate an NFS storage volume (10 GiB+) that any workspace pod can attach, with optional encryption and usage warnings; preview cost, then confirm to provision.
Instructions
Create a network (nfs) storage volume of size_gb GiB (at least 10, like the console) that any pod in the
workspace can attach. It is billed hourly by capacity for as long as it exists, mounted or not.
With confirm=false (default) it only returns the estimate; call again with confirm=true after the user agreed.
encrypted turns on at-rest encryption. usage_warning warns the user when the volume fills past
usage_warning_threshold (0-1, default 0.9 = 90% full), like the console's usage warning.
Local storage can't be created on its own: create it together with a pod through create_pod local_volumes.
storage_type stays "nfs" ("hostPath" is refused); disk_type and region are accepted for compatibility
and ignored.
The volume appears in the storages tool shortly after; attach it to a pod with create_pod volumes.
Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| region | No | ||
| confirm | No | ||
| size_gb | Yes | ||
| disk_type | No | NVMe | |
| encrypted | No | ||
| workspace | No | ||
| operation_id | No | ||
| storage_type | No | nfs | |
| usage_warning | No | ||
| max_price_per_hour | No | ||
| usage_warning_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||