Read docs pages
get_docsFetches ShadowGit documentation pages for a tracked project’s map areas and Overview, returning their facts, current text, and recent changes to identify pages whose words are missing or behind.
Instructions
Read the docs pages ShadowGit keeps for a tracked project: one per area of its map, plus an Overview, each written by an assistant. A page comes with the facts ShadowGit draws from the map (folder, sizes, layers, what it depends on and what depends on it, processes, its most depended-on symbols, the project's rules that name it), its words so far with who wrote them and at which snapshot, and what changed in the area since them: symbols changed in their code, dependency facts, links that no longer name anything. With no arguments: the pages your latest session changed whose words are missing or behind. With base and head: the pages changed between those snapshots whose words are missing or behind. With areas, and overview: those pages. With all: pages without words, largest area first, five at a time, with more for the following batch. Answers head, the snapshot write_docs keeps the words at, and next: write the pages' words with write_docs. Needs the ShadowGit app running.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Pages without words, five at a time | |
| base | No | With head: the pages changed between these snapshots, as get_lens names them; null from the start of the history | |
| head | No | With base: the newer snapshot | |
| more | No | The more get_docs answered with all, as given: the following batch | |
| repo | No | Project name or absolute path. Defaults to the current project. | |
| areas | No | Area ids, as get_docs names them: most are the area's folder, as get_map lists it | |
| overview | No | The Overview page, alone or with areas |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head | Yes | The newest snapshot, which write_docs keeps the words at | |
| more | Yes | For all: the following batch, to pass back as more; null at the last | |
| next | No | The step that follows: write these pages with write_docs | |
| repo | Yes | ||
| pages | Yes | ||
| limits | Yes | ||
| mapAsOf | Yes | The snapshot the answer is drawn from |