get_doc
Inspect a single document's structure and metadata: section handles, role and tag distributions, size, format, and indexed timestamp. Enables targeted doc navigation without reading content.
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.
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": {
"repo": "<repo>",
"doc_path": "<doc_path>"
},
"name": "get_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier | |
| doc_path | Yes | Document path within the repo, e.g. 'api/auth.md' |