Search Repository Catalog
repo_searchSearch indexed local repositories by path, domain, kind, route, imports, exports, and symbols; omit the query to list the catalog instead. Search one repo, specified paths, or all catalog repos.
Instructions
Search indexed local repositories by path, domain, kind, route, imports, exports, and symbols. Omit query to list the local repository catalog instead. Searches the repository at path (the working directory by default) only; pass paths to search those repositories, or all: true to add every repository in the local catalog (call repo_index to add one). Outside a repository it searches the catalog.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "repo_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Also search every repository in the local catalog. | |
| path | No | Repository to search. Defaults to current working directory. | |
| limit | No | Maximum matches. Defaults to 25. | |
| paths | No | Repositories to search instead of the catalog. | |
| query | No | Search query. Omit to return the catalog listing instead of search matches. | |
| catalog | No | Optional catalog JSON path. | |
| offline | No | Use stored index files without refreshing fingerprints. |