search
Find text or file names in a directory. Content mode returns line/column matches; name mode returns file paths.
Instructions
Fast local search powered by ripgrep. mode=content searches text with line/column output; mode=name searches file paths.
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>",
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| mode | No | content | |
| path | Yes | ||
| query | Yes | ||
| literal | No | ||
| ignoreCase | No | ||
| maxResults | No | ||
| includeHidden | No |