get_documentation_outline
Retrieve the complete directory structure of a repository's documentation, including page titles, slugs, and hierarchy. Automatically triggers indexing if the repository is not yet processed.
Instructions
获取仓库文档的完整目录结构。
返回仓库的文档目录树,包含所有页面的标题、slug 和层级关系。 首次调用会自动提交索引请求,如果仓库未被索引会返回等待状态。
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_path": "<repo_path>"
},
"name": "get_documentation_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | 仓库路径,格式: owner/repo 或完整 URL | |
| language | No | 文档语言,可选 "zh" 或 "en" | zh |