yuque_sort_book_stack
Reorders knowledge bases within a specified book stack so they match a required sequence, enabling custom organization through an authenticated move request.
Instructions
排序分组(书架)内知识库顺序。需要 cookie+ctoken 认证。PUT /api/mine/book_stack/move,传有序 targetBookIds(数组顺序即最终排序)。常用于把分组内知识库按期望顺序重排。
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": {
"stack_id": "<stack_id>",
"book_ids": "<book_ids>"
},
"name": "yuque_sort_book_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_ids | Yes | 排序后的知识库 ID 数组(按期望顺序排列,必填) | |
| stack_id | Yes | 目标分组 ID(书架 ID,必填) |