Outline of one document
docguard_doc_structureMaps a Markdown document's outline and governance markers—headings, anchors, line ranges, facts, reviews—so agents can retrieve focused sections instead of whole files.
Instructions
A document's headings (level, text, anchor, line range, bytes), docguard:section markers (id, source, pinned, covers), fact markers, marker issues, last-reviewed date and size — so an agent can read one section instead of the whole file.
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": {
"doc": "<doc>"
},
"name": "docguard_doc_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Project-relative Markdown path, e.g. docs-canonical/ARCHITECTURE.md | |
| projectDir | No | Project to inspect: a directory inside the directories this server serves (absolute, or relative to the served directory). Defaults to the served directory. |