search
Locate files in a locked root directory by filename glob or content regex, with configurable path and result limits.
Instructions
在根目录内搜索:name_glob 按文件名匹配,content_regex 按内容正则匹配。
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| name_glob | No | * | |
| max_results | No | ||
| content_regex | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |