project-search
Search Godot project files for text or regex patterns to find function usages, variable references, and TODOs, returning matching file paths and line numbers.
Instructions
[compact alias of search_project] Searches for text or regex patterns across project files. Use to find function usages, variable references, or TODOs. Returns file paths and line numbers.
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>",
"query": "<query>"
},
"name": "project-search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text or regex pattern (e.g., "player", "TODO", "func.*damage") | |
| regex | No | If true, treats query as regex. Default: false | |
| fileTypes | No | File extensions to search. Default: ["gd", "tscn", "tres"] | |
| maxResults | No | Maximum results to return. Default: 100 | |
| projectPath | Yes | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. | |
| caseSensitive | No | If true, case-sensitive search. Default: false |