MCP ServerTools
Document Search
Search documentation with semantic, linked, or hybrid modes
Search your repository's documentation (markdown files, READMEs, guides) to find relevant docs.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
repository | string | Yes | Repository name (e.g., "owner/repo") |
query | string | Yes* | Natural language search query |
mode | string | No | Search mode: "semantic", "linked", or "hybrid" (default: "semantic") |
symbol_uids | string[] | Yes** | Symbol UIDs for linked/hybrid mode |
limit | number | No | Max documents to return (1-100, default: 20) |
*Required for semantic and hybrid modes
**Required for linked mode, optional for hybrid
Search Modes
| Mode | Use Case |
|---|---|
semantic | General doc search ("find docs about X") |
linked | Find documentation for specific code symbols |
hybrid | Both - when you have symbols but also want topic search |
Semantic Mode (Default)
Finds documents semantically similar to your query using vector embeddings.
{
"repository": "owner/my-project",
"query": "authentication setup guide",
"mode": "semantic"
}Linked Mode
Finds documents that reference specific code symbols via DOCUMENTED_BY edges. Requires symbol_uids.
{
"repository": "owner/my-project",
"mode": "linked",
"symbol_uids": ["abc123", "def456"]
}Use symbol UIDs from noodlbox_query_with_context or noodlbox_detect_impact results.
Hybrid Mode
Combines both semantic and linked search, deduplicating results.
{
"repository": "owner/my-project",
"query": "API usage",
"mode": "hybrid",
"symbol_uids": ["abc123"]
}Usage
Ask your agent:
"Find documentation about the authentication system"
"What docs reference the PaymentService class?"
"Show me guides related to my staged changes"
Response
{
"semantic_docs": [
{
"id": "doc_123",
"title": "Authentication Guide",
"file_path": "docs/auth/README.md",
"preview": "This guide explains how to implement..."
}
],
"related_docs": [
{
"id": "doc_456",
"title": "API Reference",
"file_path": "docs/api/auth.md",
"preview": "The authenticateUser function..."
}
],
"mode": "hybrid"
}| Field | Description |
|---|---|
semantic_docs | Documents matching query semantically (vector similarity) |
related_docs | Documents linked to symbols via DOCUMENTED_BY edges |
Workflow Example
- Find changed code with
noodlbox_detect_impact - Get symbol UIDs from the
changed_symbolsresponse - Search for related docs using linked or hybrid mode
- Update docs alongside code changes
Related
- Context Search - Search code, not documentation
- Impact Detection - Find code affected by changes