script_list
List GDScript files in a Godot project by specifying the project path and optional subdirectory. Returns relative paths for scripts.
Instructions
List all GDScript files (.gd) in a Godot project.
Category: Script
Args: project_path: Path to the Godot project directory directory: Optional subdirectory to search in (relative to project root) recursive: Whether to search recursively (default: True)
Returns: JSON array containing script file paths relative to project root
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| directory | No | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |