project-search
Search project files for text or regex patterns. Find function usages, variable references, or TODOs with returned 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 |
|---|---|---|---|
| projectPath | Yes | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. | |
| query | Yes | Search text or regex pattern (e.g., "player", "TODO", "func.*damage") | |
| fileTypes | No | File extensions to search. Default: ["gd", "tscn", "tres"] | |
| regex | No | If true, treats query as regex. Default: false | |
| caseSensitive | No | If true, case-sensitive search. Default: false | |
| maxResults | No | Maximum results to return. Default: 100 |