search_file_content
Search for a text string inside supported UTF-8 files in a directory to locate matching content without opening each file manually.
Instructions
Search for text inside supported UTF-8 files in a directory.
Args:
directory: Directory to search within.
query: Text string to search for.
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": {
"directory": "<directory>",
"query": "<query>"
},
"name": "search_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |