redcon_search
Find regex matches in task-relevant files first, with option to search whole repo. Avoids slow raw grep on large codebases.
Instructions
Regex search. scope='ranked' (default) limits matches to the task's relevant files; scope='all' covers the whole repo. Prefer over raw grep on large repositories.
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>",
"task": "<task>"
},
"name": "redcon_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | . | |
| task | Yes | Task description (used for scope='ranked') | |
| scope | No | ranked | |
| top_k | No | ||
| pattern | Yes | Regex pattern to search for | |
| max_results | No |