search_project_docs
Search project documentation for keywords using BM25 ranked search or grep fallback. Query current project or expand to global scope across all projects to find technical notes, decisions, and saved knowledge.
Instructions
Search documentation files for a keyword or phrase. Automatically uses BM25 ranked search when index is available, falls back to grep (substring match) otherwise.
scope="project" (default): current project only, based on CWD. scope="global": search across ALL projects in the doc repository.
Use global scope when the user:
does not specify a project, or says 'all projects', 'everywhere', 'across projects'
references previously saved notes, knowledge, or past decisions
wants to compare how different projects handle the same topic
uses words like 'find everywhere', 'search everything', 'all docs'
asks in Korean: '전체', '모든 프로젝트', '다른 프로젝트에서는'
Use project scope (default) when the user asks about the current project context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default: 20) | |
| query | Yes | Search query | |
| scope | No | Search scope: 'project' (default, current project only) or 'global' (all projects). Omit or set to 'project' for current project. |