list_scripts
List all script files in a Godot project, filtering by extension (.gd, .cs, .shader) and directory. Helps manage and locate scripts within the project.
Instructions
List all script files in a Godot project
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "list_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Optional: Search only in this subdirectory | |
| extension | No | Filter by extension: ".gd", ".cs", or ".shader" (default: all) | |
| projectPath | Yes | Path to the Godot project directory |