Search in project
search_in_projectSearch for literal text within a project's files, returning matching lines and locations. Configure search depth, case sensitivity, and hidden file inclusion.
Instructions
Search for literal text in text files under a project directory.
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": "search_in_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Literal text to search for. | |
| maxDepth | No | ||
| maxMatches | No | ||
| projectPath | Yes | Absolute project directory path. | |
| caseSensitive | No | ||
| includeHidden | No |