list_directory
Lists Python files in a specified directory to help users identify available scripts and modules for execution or analysis.
Instructions
List all Python files in a directory.
Args:
directory_path: Path to directory (empty for working directory)
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": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |