exact_word_search
Find exact word matches in files to locate specific terms with precision. Search for complete words only, not partial matches, and get results with line numbers and positions.
Instructions
Search for an exact word match within a specified file. Only matches complete words, not partial matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the file to search in | |
| word | Yes | Exact word to search for in the file | |
| caseSensitive | No | Whether the search should be case sensitive |
Input Schema (JSON Schema)
{
"properties": {
"caseSensitive": {
"default": false,
"description": "Whether the search should be case sensitive",
"type": "boolean"
},
"filePath": {
"description": "Path to the file to search in",
"type": "string"
},
"word": {
"description": "Exact word to search for in the file",
"type": "string"
}
},
"required": [
"filePath",
"word"
],
"type": "object"
}