get_doc
Retrieve structural metadata and section handles for a single doc: role/tag distributions, byte size, format, indexed_at. Enables navigation without content reads, reducing tokens.
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' |