modal_volume_rm
Delete files or directories from a Modal Volume by specifying volume name and path. Supports recursive deletion for directories.
Instructions
Delete a file or directory from 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": {
"volumeName": "<volumeName>",
"remotePath": "<remotePath>"
},
"name": "modal_volume_rm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment to interact with | |
| recursive | No | Delete directory recursively | |
| remotePath | Yes | Path to delete in the volume | |
| volumeName | Yes | Name of the volume |