search_files
Find files in a directory by searching for specific text patterns to locate documents or data quickly.
Instructions
Search for files in a directory matching a pattern
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": {
"directoryPath": "<directoryPath>",
"pattern": "<pattern>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directoryPath | Yes | ||
| pattern | Yes | Search pattern (substring) |