list_project_files
Retrieve files from a Godot project, optionally filtered by extension or subdirectory, to locate assets and scripts.
Instructions
List project files, optionally filtered by extension
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_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extensions | No | Optional file extensions to filter by (e.g., [".gd", ".tscn"]). Include the dot. | |
| projectPath | Yes | Godot project path | |
| subdirectory | No | Optional subdirectory to search in (e.g., "scripts/player") |