search_context
Search across project knowledge (instructions, runbooks, session docs) using hybrid keyword and semantic search. Returns relevant chunks with source file, section, and line numbers.
Instructions
Search across all indexed project knowledge (copilot-instructions, skills docs, runbooks, session docs). Uses hybrid BM25 keyword + semantic search with temporal decay. Returns the most relevant chunks with source file, section, and line numbers.
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_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query | |
| top_k | No | Number of results to return (default 5) | |
| mode | No | Search mode: hybrid (default), keyword-only, or semantic-only | hybrid |