get_doc
Retrieve document metadata and section handles from a repository without reading its full content. Returns section list, role and tag distributions, byte size, and format.
Instructions
v1.58+ — single-doc detail view. Pairs with list_docs (cross-doc inventory). Returns section list (handles), role_distribution, tag_distribution, byte_size, format, indexed_at for one doc. No content reads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier | |
| doc_path | Yes | Document path within the repo, e.g. 'api/auth.md' |