modal_volume_put
Upload local files or directories to a Modal Volume, specifying destination path and optional overwrite.
Instructions
Upload a file or directory to 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>",
"localPath": "<localPath>"
},
"name": "modal_volume_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment to interact with | |
| force | No | Overwrite existing files | |
| localPath | Yes | Local file or directory path | |
| remotePath | No | Destination path in the volume | |
| volumeName | Yes | Name of the volume |