file_search
Find workspace paths matching a glob under one directory. Use this read-only lookup to locate files, with up to 200 results and truncation noted.
Instructions
Find workspace paths matching a glob, under one directory.
Read-only. At most 200 results may be requested; a larger request is
refused with LIMIT_EXCEEDED. A truncated result says so. Literal file
names are faster with directory_list when the directory is known.
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": {
"path": "<path>",
"glob": "<glob>"
},
"name": "file_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | Yes | ||
| path | Yes | ||
| max_results | No |