搜索文本
search_textSearch workspace codebase for specific text using ripgrep, automatically falling back to Node search if ripgrep is unavailable.
Instructions
在工作区搜索文本。优先使用 ripgrep,缺失时使用 Node 回退实现。
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": {
"query": "<query>"
},
"name": "search_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| path | No | . | |
| limit | No | ||
| query | Yes | ||
| regex | No | ||
| case_sensitive | No |