list_directory
Retrieve a structured listing of files and directories within a specified path, marked with [FILE] and [DIR] prefixes. Use this tool to analyze directory structures and locate specific items efficiently within permitted directories.
Instructions
Get a detailed listing of all files and directories in a specified path. Results clearly distinguish between files and directories with [FILE] and [DIR] prefixes. This tool is essential for understanding directory structure and finding specific files within a directory. Only works within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | Path of the directory to list |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"path": {
"description": "Path of the directory to list",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}