search_adr_index
Search architecture decision records in a project using semantic queries. Retrieve relevant ADR paths to review context before implementation.
Instructions
Semantically search only the architecture decision records under .context/decisions/. Use this to find ADRs relevant to your current task, then pass their paths to load_context_files — do not rely on this tool's snippets alone. If you need to search across all files in the project, use search_project_files instead.
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": {
"project_path": "<project_path>",
"query": "<query>"
},
"name": "search_adr_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query | |
| n_results | No | ||
| project_path | Yes | Absolute filesystem path, a short 'owner/repo' identifier, or a full https:// repository URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Individual matching hits, one per matched chunk. | |
| warning | No | Present only when the index was built with a different embedding provider/model. |