List Directory
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.
Purpose
This skill provides access to the MCP tool list_directory. It allows you to 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..
Parameters
The tool accepts the following parameters:
path
Required
- Type:
string - Description: No description provided
Usage Instructions
To use this tool:
- Prepare the parameters according to the schema above
- Invoke the MCP tool
list_directorywith the prepared parameters - Process the result returned by the tool
Example
{
"path": "example_value"
}
Expected Output
The tool returns data with the following structure:
- content (
string): No description provided
Notes
- This skill requires an active MCP connection to the server providing the
list_directorytool - Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors