MCP Python Interpreter

by yzfly
Verified

list_directory

List all Python files in a specified directory or subdirectory using the MCP Python Interpreter. Provide the directory path to retrieve a list of .py files for analysis or management.

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

NameRequiredDescriptionDefault
directory_pathNo

Input Schema (JSON Schema)

{ "properties": { "directory_path": { "default": "", "title": "Directory Path", "type": "string" } }, "title": "list_directoryArguments", "type": "object" }

You must be authenticated.

Other Tools from MCP Python Interpreter

Related Tools

ID: asvhgbf6de