fs_list_directory
Lists files and directories in the sandbox workspace root with bounded depth traversal, optional hidden-file inclusion, and protection flags for sensitive credentials.
Instructions
List files and directories inside the sandbox workspace root using bounded iterative BFS traversal. Sensitive credential files are flagged as 'protected_sensitive'.
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": "fs_list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative directory path inside the workspace root. | . |
| max_depth | No | Maximum directory traversal depth (1 to 10). | |
| include_hidden | No | Whether to include dotfiles (sensitive files remain masked as protected). |