search
Search file contents using regex patterns or locate files using trigram matching.
Instructions
Regex content search or trigram file-name search.
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": {
"pattern": "<pattern>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | e.g. *.rs | |
| max_results | No | ||
| mode | No | Default: content | |
| path | No | Scope dir | |
| pattern | Yes |