list_dir
Browse files and subdirectories inside the sandbox before reading or writing. Provide an optional path relative to the sandbox root to inspect its contents.
Instructions
List a directory inside the sandbox. 'path' defaults to the sandbox root; use it to browse files before reading or writing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory relative to the sandbox root (default '.') |