modal_volume_ls
List files and directories in a Modal Volume. Provide the volume name and optional path to retrieve its directory listing.
Instructions
List files and directories in a modal.Volume 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>"
},
"name": "modal_volume_ls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment to interact with | |
| path | No | Path within the volume | |
| volumeName | Yes | Name of the volume |