Get Doc Tree
get_doc_treeRetrieve the hierarchical documentation tree for a specific version, including folders, pages, and spec snapshots, with sort order and node types, to navigate and manage docs accurately.
Instructions
Get the documentation tree (folders, pages, spec snapshots) for a specific version. Returns a hierarchical structure with sort order. Each node is typed as page, folder, or specSnapshot. Requires project context (call set_context first).
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": {
"documentationId": "<documentationId>",
"versionId": "<versionId>"
},
"name": "get_doc_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versionId | Yes | The public Id (Guid) of the doc version | |
| documentationId | Yes | The public Id (Guid) of the documentation |