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.
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": {
"sandbox_id": "<sandbox_id>",
"path": "<path>"
},
"name": "listSandboxFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| sandbox_id | Yes | The ID of the sandbox to query files from |