List Sandbox Directory
sandbox_list_directoryLists directory contents inside a sandbox by absolute path, showing file, directory, and symlink types; set depth to traverse subdirectories.
Instructions
List a directory inside a sandbox. Each entry carries a type (file / directory / symlink). Use depth to walk subdirectories. To find a file by name rather than list a directory, use sandbox_search_files.
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": "sandbox_list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute directory path inside the sandbox | |
| depth | No | Traversal depth; defaults to 1 (immediate children only) | |
| sandbox_id | Yes | ID of the target sandbox |