Edit Storage
update_storageRename a storage volume, grow its capacity, or configure usage warnings with a preview-first workflow; confirm to apply changes, with growth billed hourly and irreversible shrinkage blocked.
Instructions
Change a storage volume like the console's Edit: rename it (name), grow it (size_gb, in GiB) or set its
usage warning (usage_warning on/off, usage_warning_threshold 0-1). Pass only what changes; storage is the
pv_name or display name from the storages tool.
Storage can grow but never shrink (storage_cannot_shrink), and growing raises its hourly price, which is billed
for as long as the volume exists.
With confirm=false (default) it only returns the estimate (new and current size and hourly price) and changes
nothing; call again with confirm=true after the user agreed. Growing runs asynchronously; renaming and the
usage warning apply right away.
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.
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": {
"storage": "<storage>"
},
"name": "update_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| confirm | No | ||
| size_gb | No | ||
| storage | Yes | ||
| workspace | No | ||
| operation_id | No | ||
| usage_warning | No | ||
| usage_warning_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||