yuque_rename_book_stack
Renames a knowledge base group (book stack) in Yuque by updating its name for the given stack ID.
Instructions
重命名知识库分组(书架)。需要 cookie+ctoken 认证。PUT /api/book_stacks/{stack_id},body {name, type:'user_books'}。
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>",
"name": "<name>"
},
"name": "yuque_rename_book_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 新名称(必填) | |
| stack_id | Yes | 分组 ID(书架 ID,必填) |