get_book_structure
Retrieves the complete book structure as a tree of nodes with content items, enabling rendering of the directory and its contents in a single request.
Instructions
书结构整树(目录树 + 各节点内容项,一次返回可渲染)。
返回 {ok, book, tree:[{id,name,nodeType,kpId?,items:[{id,kind,questionId?,override?,explain?}],children:[...]}]}。 override 优先于题库原题面渲染;kind=explain 走 explain.title/text。
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": "get_book_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||