doc_resolve_repo
Resolve any file or folder path to the matching indexed documentation repo handle via source_root metadata.
Instructions
Resolve a filesystem path (index root, subfolder, or file) to its indexed documentation repo handle via stored source_root metadata — O(1)-sized response, use instead of doc_list_repos when the path is known. Exact root match wins, then the most specific containing root; equally-specific duplicates return ambiguous:true with a bounded candidates list (max 5) plus total_matches. GitHub-indexed corpora (no source_root) never match. Read-only: never creates, refreshes, or deletes an index. Prefer absolute paths; relative paths resolve against the server CWD (echoed as _meta.resolved_path).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Filesystem path — index root, subfolder, or file (absolute preferred) |