modal_volume_rename
Rename a Modal volume by providing its current name and the new name. Use this to update volume identifiers for your Modal infrastructure.
Instructions
Rename a modal.Volume.
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": {
"oldName": "<oldName>",
"newName": "<newName>"
},
"name": "modal_volume_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment to interact with | |
| newName | Yes | New name of the volume | |
| oldName | Yes | Current name of the volume |