search_hybrid
Run semantic and full-text hybrid search across indexed repositories to find relevant code. Provide a repo path or directory to query existing indexes or register and index new worktrees.
Instructions
Semantic + fulltext hybrid search over indexed repos. Supply 'repo' (absolute checkout/directory path) or 'cwd' (a directory inside it); 'repo' takes precedence. Git worktrees resolve through Git and registered families; directory roots through database registration. A first search can register and index a new linked worktree when its family already permits indexing. Subsequent searches use that checkout's last completed index; incomplete Git operations retain it.
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": {
"query": "<query>"
},
"name": "search_hybrid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Directory inside the target checkout or registered directory. Used when 'repo' is absent; no configuration marker is needed. | |
| repo | No | Absolute path of the target checkout/worktree or indexed directory. Optional if 'cwd' is provided. | |
| limit | No | ||
| query | Yes |