find_files
Search for files matching a glob pattern, with optional case sensitivity and content preview. Locate specific files across directories efficiently.
Instructions
Search for files by pattern with optional content matching
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": {
"pattern": "<pattern>"
},
"name": "find_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | The search pattern to match against file names. Supports wildcards (* and **) for flexible matching. | |
| directory | No | The directory to search in. Defaults to current directory. | . |
| case_sensitive | No | Whether the pattern matching should be case sensitive. Defaults to case insensitive. | |
| include_content | No | Whether to include file content preview (first 500 characters) in the results. |