list_directory
Retrieve all Python files within a specified directory or its subdirectories using the MCP Python Interpreter. Input the directory path to generate a list of relevant files.
Instructions
List all Python files in a directory or subdirectory.
Args:
directory_path: Path to directory (relative to working directory or absolute, empty for working directory)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
directory_path | No |
Input Schema (JSON Schema)
{
"properties": {
"directory_path": {
"default": "",
"title": "Directory Path",
"type": "string"
}
},
"title": "list_directoryArguments",
"type": "object"
}