redcon_rank
Rank repository files by relevance to a task before reading or grepping. Returns top-K paths with scores and reasons to focus your exploration.
Instructions
Rank repository files by relevance to a task. Call this FIRST on a new task, before grepping or reading: it returns the top-K paths with scores and reasons. Follow up with redcon_compress on the top hits.
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": {
"task": "<task>"
},
"name": "redcon_rank"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository path (default: current directory) | . |
| task | Yes | Description of what you're working on | |
| top_k | No | Number of top files to return |