list_modal_volume_contents
Retrieve files and directories within a specified Modal volume by providing the volume name and optional path. Returns a JSON-formatted output of the volume's contents.
Instructions
List files and directories in a Modal volume.
Args:
volume_name: Name of the Modal volume to list contents from.
path: Path within the volume to list contents from. Defaults to root ("/").
Returns:
A dictionary containing the parsed JSON output of the volume contents.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | No | / | |
volume_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"path": {
"default": "/",
"title": "Path",
"type": "string"
},
"volume_name": {
"title": "Volume Name",
"type": "string"
}
},
"required": [
"volume_name"
],
"title": "list_modal_volume_contentsArguments",
"type": "object"
}