search_fulltext
Run tokenized keyword searches across code in Git worktrees or indexed directories. Provide a repository path or a directory inside it to query the last completed index.
Instructions
Tokenized full-text keyword search, not literal substring or regex matching. 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.
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 |