repofind
v0.1.0Local codebase search for agents: hybrid keyword/semantic search, locate, expand, related code.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search
Hybrid semantic + keyword search over an indexed local codebase. Default for code exploration — one call per question.
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language or code query |
dedupe_by_file | boolean | Keep best hit per file (default true) |
exclude | array | Gitignore-style glob patterns; matching files are removed (optional) |
include | array | Gitignore-style glob patterns; only matching files are searched (optional) |
repo | string | Local directory path to index (optional; defaults to the working directory) |
locate
Find exact substrings (env vars, symbols, error codes) in an indexed local codebase.
| Parameter | Type | Description |
|---|---|---|
literal * | string | Exact substring to find |
exclude | array | Gitignore-style glob patterns; matching files are removed (optional) |
ignore_case | boolean | Match case-insensitively (default false) |
include | array | Gitignore-style glob patterns; only matching files are searched (optional) |
limit | integer | Cap returned hits (optional; omit for all) |
mode | string | Result mode (default lines) |
repo | string | Local directory path to index (optional; defaults to the working directory) |
expand
Return more context in the same file around a search hit: the anchor chunk plus neighbouring chunks.
| Parameter | Type | Description |
|---|---|---|
anchor_line * | integer | 1-based anchor line |
file_path * | string | Repo-relative or absolute path within the repo |
after | integer | Chunks to return after the anchor chunk (default 1) |
before | integer | Chunks to return before the anchor chunk (default 1) |
repo | string | Local directory path to index (optional; defaults to the working directory) |
read_benchmark
Cumulative token-savings rollup from saved benchmark-mode queries.
| Parameter | Type | Description |
|---|---|---|
repo | string | Filter to one local path (optional) |