listSandboxFiles
Retrieve a list of files and directories at specified paths within a sandbox. Supports batch queries to verify file existence before download.
Instructions
List files and directories at specified paths within a sandbox. Supports batch queries with multiple paths. This operation can be used before downloadSandboxFiles to check if the file exists.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | ||
sandbox_id | Yes | The ID of the sandbox to query files from |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"path": {},
"sandbox_id": {
"description": "The ID of the sandbox to query files from",
"type": "string"
}
},
"required": [
"sandbox_id",
"path"
],
"type": "object"
}