File Search
file_searchSearch files using a case-insensitive filename substring or full-text phrase, optionally restricted to a folder scope. Get matching results plus a truncation flag when output is limited.
Instructions
Search by a case-insensitive filename substring (answered by a
bounded filesystem walk, independent of the Windows Search index)
and/or a full-text phrase match (answered by the index: ADO,
then a PowerShell bridge on ADO failure), optionally restricted to
an absolute scope subtree. At least one of filename/phrase is
required; scope (if given) must fall within a configured or
default allowed search root. Returns results plus a
resultsTruncated flag.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "file_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| phrase | No | ||
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| results_truncated | No |