Get Docs Tree
get_docs_treeDiscover file and folder paths in cached documentation before retrieving content, with optional path filtering and depth limits.
Instructions
Get file/folder structure of cached docs. Use to discover file paths before get_docs_content. Optionally filter by path or limit depth.
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": {
"docs_id": "<docs_id>"
},
"name": "get_docs_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subtree path (e.g., 'docs/api') | |
| docs_id | Yes | Docs ID from index_docs or list_cached_docs | |
| max_depth | No | Max folder depth to return |