yuque_get_toc
Get a repository's table of contents as a flat array, navigable via uuid, parent_uuid, and child_uuid, to map knowledge base structure.
Instructions
Get repo TOC tree (flat array, navigable via uuid/parent_uuid/child_uuid). GET /repos/:id/toc. 详见 references/api/toc_api.md
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": {
"book_id": "<book_id>"
},
"name": "yuque_get_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return raw full JSON (default false, returns trimmed fields) | |
| book_id | Yes | Repository ID (numeric) or namespace like group/book_slug (required) |